Implementing a digital financial asset exchange
In a digital exchange, a trader needs to first deposit funds or other digital assets into an account, after which those funds or assets are available to exchange with other traders.
When implementing this type of exchange, your application needs to include a way for the buyer to specify the necessary information. The application sends that information to the StarkEx gateway using the add_transaction
API with one of the following transaction types:
-
DepositRequest
-
WithdrawalRequest
-
SettlementRequest
-
TransferRequest
-
MintRequest
– StarkEx Spot Trading 4.5 supports offchain minting of ERC-721 assets and onchain minting of ERC-20 and ERC-1155 tokens. Offchain minting of ERC-20 and ERC-1155 tokens is available beginning with StarkEx Spot Trading 5.0.
-
Deposit and withdrawal for offchain accounts for information on interactions between the onchain contract and the offchain application, functions, and event listeners
-
For information on the flows and the API calls that you must implement in a digital asset exchange, see the following topics: