https://github.com/cgewecke/0x-multichain-quote-sketch
WIP code to fetch 0x trade quotes for SetProtocol set components
https://github.com/cgewecke/0x-multichain-quote-sketch
Last synced: 2 days ago
JSON representation
WIP code to fetch 0x trade quotes for SetProtocol set components
- Host: GitHub
- URL: https://github.com/cgewecke/0x-multichain-quote-sketch
- Owner: cgewecke
- Created: 2021-06-07T13:02:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-07T17:52:07.000Z (about 4 years ago)
- Last Synced: 2025-04-03T13:28:25.939Z (3 months ago)
- Language: TypeScript
- Size: 262 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 0x-multichain-quote-sketch
WIP code to fetch 0x trade quotes for SetProtocol set components### Setup
Create a `.env` file with:
```
INFURA_TOKEN=...
PRIVATE_KEY=...
ZERO_EX_API_KEY=...
```Run `yarn`
### Run
```
# Get trade quote while impersonating DPI manager account
yarn dpi:forked# These require code modifications to work around issues
yarn dpi:mainnet # comment out estimate logic and fake estimate
yarn bud:polygon # rewire to fake total supply numbers...
```