Skip to content

Instantly share code, notes, and snippets.

@bryfeng
bryfeng / architecture.md
Last active May 12, 2026 19:12
Marketplace Stack Architecture

Marketplace Stack Architecture

This architecture describes a neutral coordination network for moving value and state across EON semantic layers. The marketplace and bundler help users express and package intent, but final authority comes from verifier replay: accepted state is whatever the verifier can deterministically validate from ordered EON data.

The core idea is simple:

  1. Wallets express desired outcomes as intents.
  2. A marketplace or bundler coordinates compatible intents.
  3. The bundler creates one atomic bundle event.
  4. EON orders and stores the bundle as data.
function getTotalCases(input) {
var array = [];
var country = input.toString();
var response = UrlFetchApp.fetch(`https://api.covid19api.com/total/country/${country}`);
var data = JSON.parse(response);
for (var i = 0, len = data.length; i < len; i++) {
array.push(data[i]["Confirmed"])
};
return array[array.length -1];
@bryfeng
bryfeng / getcountries.js
Created May 17, 2020 23:47
get countries
function getCountries() {
var array = [];
var url = 'https://api.covid19api.com/countries';
var response = UrlFetchApp.fetch('https://api.covid19api.com/countries');
var countries = response.getContentText();
var data = JSON.parse(countries);
for (var i = 0, len = data.length; i < len; i++) {
array.push([data[i]["Country"],data[i]["Slug"]])
};
return array
@bryfeng
bryfeng / youtube_search_dems.py
Created December 8, 2019 09:03
Democrat Youtube Data
import pandas as pd
import urllib.request
import json
#api key
key = "key=YOURKEYHERE"
#search api and params
youtube_search = "https://www.googleapis.com/youtube/v3/search?"
part_search = "part=snippet"
@bryfeng
bryfeng / Flappy Analysis.ipynb
Created July 31, 2019 07:54
Flappy Royale Analysis
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.