Crypto Graph is crypto-currency price aggregator.
This project using graph deep first search with colors algorithm for best exchange search.
git clone [email protected]:Senchatay/crypto_graph.git
cd crypto_graph
make build
make start
cat tmp/result.txt
make build # Build the image
make start # Start Container and compute calculation
make debug # Run Container in debug mode
# .env
ETHERSCAN_API_KEY = '50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c'
TRONSCAN_API_KEY = '50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c'
BYBIT_API_KEY = '50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c'
BYBIT_API_SECRET = '50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c'
SIMPLE_SWAP_API_KEY = '50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c'
CHANGE_NOW_API_KEY = '50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c'
1INCH_API_KEY = 'Bearer 50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c'- Create full loop for finding profit cycle.
- Calculate cost with blockchain-system commission.
- Sort results by profit and show only top.
- Dockerize app.
- Parse realtime blockchain-system commission.
- Parse realtime exchange.
- Optimaze best_change API for rates(600k many times select)
- Add DEX API? +1
- Add P2P/C2C from exists stocks
- Write dotenv example to README
- Optimaze best_exchange with storing calculated node
- Grade up to sinatra, postgres and puma.
- Use dry-rb datatypes for prices.
- Create auto-transfer using BlockCypher