Skip to content

Instantly share code, notes, and snippets.

View fbslo's full-sized avatar
🏠
Working from home

fbslo fbslo

🏠
Working from home
View GitHub Profile
@noxx3xxon
noxx3xxon / arbitrage.py
Created August 21, 2022 22:34
CFMM Routing Arbitrage Example
import numpy as np
import cvxpy as cp
import itertools
# Problem data
global_indices = list(range(4))
# 0 = TOKEN-0
# 1 = TOKEN-1
# 2 = TOKEN-2
@faddat
faddat / starportdemo
Last active November 6, 2020 16:48
Starport Functional Demonstration
**DO THE FOLLOWING**
If it takes more than 20 minutes, let me (https://twitter.com/@gadikian) know, it means that something is wrong.
The Raspberry Pi image may take 15-30 minutes to build.
ensure that you have node.js, go and the github cli installed.
```bash
# Clone Starport Repo
git clone https://github.com/tendermint/starport
@miguelmota
miguelmota / example.proto
Last active September 20, 2023 02:07
Golang protobuf marshal and unmarshal example
syntax = "proto3";
message Message {
bytes text = 1;
}