Please check out our Github! Feel free to open an issue or PR if you have any questions or suggestions.
We welcome contributions via our Github. You can also check out our open bounties here: https://bounties.perp.fi/
We also have a #coding-chat channel in our Discord if you want to learn more about contributing!
Get the current addresses here:
production (Homestead/xDai): https://metadata.perp.exchange/production.json
staging (Rinkeby/xDai): https://metadata.perp.exchange/staging.json
First get the smart contract addresses from the link above.
For Ethereum (layer1), get the ABIs on Etherscan.
For xDai (layer2), get the ABIs on Blockscout.
Example: (ClearingHouse on layer2) https://blockscout.com/poa/xdai/address/0x5d9593586b4B5edBd23E7Eba8d88FD8F09D83EBd/contracts
A subgraph has been created on The Graph by our team and we expect more will be created with further data soon.
There is a working faucet posted here.
Welcome to ask us for some xDAI in Discord #coding-chat
You can also convert DAI to xDAI at https://bridge.xdaichain.com/.
We are currently designing a dynamic k algorithm, expected to go live Q1 2021.
K values can be calculated for each asset using the following x and y values:
AMM | Quote reserve | Base reserve |
ETH | 17243885.810320794015032689 | 13563.996106956866480954 |
BTC | 12213517.371030096014413221 | 390.010498638055502132 |
YFI | 5240472.155272766333823621 | 183.449118994500498799 |
DOT | 5023881.139085884443904189 | 314398.361798702194885919 |
SNX | 4951317.69472806439148979 | 307009.182953162679048136 |