🎒 Developer FAQ

Where can I review the source code / smart contracts?

Please check out our Github! Feel free to open an issue or PR if you have any questions or suggestions.

​https://github.com/perpetual-protocol/perpetual-protocol​

How to contribute? Are there bounties?

We welcome contributions via our Github. You can also check out our open bounties here: https://bounties.perp.fi/​

We also have a #developer-chat channel in our Discord if you want to learn more about contributing!

What are the smart contracts addresses?

Get the current addresses here:

Where can I view the contract ABIs?

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​

Is there a subgraph for Perpetual Protocol?

A subgraph has been created by our team and we expect more will be created with further data soon.

​https://thegraph.com/explorer/subgraph/perpetual-protocol/perp-position-subgraph?query=List%20PositionChanged%20events​

Is there an xDAI faucet?

We aren't aware of a working faucet. Welcome to ask us for some xDAI in Discord #developer-chat or covert DAI to xDAI at https://bridge.xdaichain.com/.