Comment on Perpetual futures, explainedComments−max_9moIs there a good resource on how perps actually work? i.e a technical specification on how to implement them?−miohtama9moYes!If you want to get into the deepest detail there are several decentralised perpetual futures exchanges.Here are some open source codebases on Github:https://github.com/vegaprotocol/vegahttps://github.com/dydxprotocol/v4-chain/https://github.com/gmx-io/gmx-syntheticshttps://github.com/0xOstium/smart-contracts-public/Vega is a stalled project, but they have good documentation:https://docs.vega.xyz/release/concepts/new-to-vega−fullstackvraj8mohttps://github.com/drift-labsyou can go through the drift labs code to see implementation of perps−wmf9moBitMEX and Hyperliquid have fairly detailed documentation about how they implement perps and there are probably open source projects out there.
Comments
Is there a good resource on how perps actually work? i.e a technical specification on how to implement them?
Yes!
If you want to get into the deepest detail there are several decentralised perpetual futures exchanges.
Here are some open source codebases on Github:
https://github.com/vegaprotocol/vega
https://github.com/dydxprotocol/v4-chain/
https://github.com/gmx-io/gmx-synthetics
https://github.com/0xOstium/smart-contracts-public/
Vega is a stalled project, but they have good documentation:
https://docs.vega.xyz/release/concepts/new-to-vega
https://github.com/drift-labs
you can go through the drift labs code to see implementation of perps
BitMEX and Hyperliquid have fairly detailed documentation about how they implement perps and there are probably open source projects out there.