What are PERPS on Maya?
Perpetuals represent the cutting edge in decentralized financial instruments, offering traders an opportunity to engage with the markets like never before on the Maya Protocol. This innovative platform brings forth a perpetual trading experience without expiry, harnessing the power of the blockchain to facilitate a seamless, trustless exchange of value.
Built upon the robust foundation of the Maya Protocol, our Perpetuals platform (Maya Perps) enables users to take long or short positions with leverage, reflecting their market forecasts and strategies. The platform is intuitively designed to ensure ease of use while providing the tools necessary for sophisticated trading maneuvers. Every action, from initiating contracts to settlement, is executed via smart contracts, ensuring transparency, security, and efficiency.
As we launch Perpetuals, we're not just introducing a new trading instrument; we're inviting you to be part of a revolution that reshapes the financial landscape, offering autonomy, perpetual opportunities, and the potential for high-yield outcomes, all within the secure confines of Maya's blockchain technology.
Actions
Available operations
Create a Perpetual Contract
TX Type
SEND
Recipient
self
Key | Required?Req? | Description |
---|---|---|
asset | YES | The underlying asset name. Currently supported assets are: BTC.BTC, ETH.ETH, KUJI.KUJI, THOR.RUNE, DASH.DASH. |
type | YES | The position type. Either "long" or "short" |
leverage | YES | The desired leverage size. Currenly it supports: 1x, 2x, 5x, 10x, 20x and 50x |
collateral-asset | YES | The collateral MRC-20 asset ticker to be user. Currently only gld is supported |
collateral-amount | YES | The amount of collateral to be supplied (will be deducted from your wallet until you exit or the contract gets liquidated in your favour). 10 decimals. (ie: 1 gld = 10000000000) |
RULES
The underlying asset name must be in the list of supported assets above (case sensitive)
The type must be either "long" or "short" (case sensitive, no quotation marks)
The leverage size must be one from the supported list above (case sensitive, postfixed with a lowercase x)
The collateral asset must be gld (lowercase)
The account creating the contract must have a balance greater or equal to the specified amount
Cancel your Perpetual Contract
TX Type
SEND
Recipient
self
Key | Required?Req? | Description |
---|---|---|
hash | YES | The transaction hash that created the perpetual contract. |
RULES
The tx hash must be valid
The account sending the cancel tx must be the same account that created the contract
The contract must not have a match
Match an existing Perpetual Contract
TX Type
SEND
Recipient
self
Key | Required?Req? | Description |
---|---|---|
hash | YES | The transaction hash used to create the perpetual contract. |
RULES
The tx hash must be valid
The contract must not have a match
The account matching the contract must hold an amount of collateral greater or equal to the amount specified in the contract. This amount will be deducted from your account until you exit or the contract gets liquidated in your favour
Exit a Perpetual Contract you are currently part of
TX Type
SEND
Recipient
self
Key | Required?Req? | Description |
---|---|---|
hash | YES | The transaction hash used to create the perpetual contract. |
RULES
The tx hash must be valid
The contract must have a match
The contract must have not been liquidated
Your account must be either the contract creator or the contract match
Liquidate a Perpetual Contract that is over the threshold
TX Type
SEND
Recipient
self
Key | Required?Req? | Description |
---|---|---|
hash | YES | The transaction hash used to create the perpetual contract. |
RULES
The tx hash must be valid
The contract must have a match
The contract must still be active
The contract must have not been liquidated