Exchanges can integrate with the OMG Network to allow their users to make faster and cheaper transactions with the same security guarantees as Ethereum.
Due to the distinct nature of each exchange’s infrastructure, development approach, UI/UX design, etc. there are no strict requirements to integrate with the OMG Network. However, after working with leading exchanges like Bitfinex, the OMG Network team recommends the following blueprint for a smooth integration experience:
Step 1: Generate ETH Addresses
Step 2: Query the Blockchain
Step 3: Enable the Deposit and Withdrawals Functionality
The deposit terminology for an exchange is different from a deposit on the OMG Network.
- OMG Network deposit – represents an ETH transaction to the corresponding vault smart contract on the Ethereum network. This creates a new deposit on the OMG Network and allows the depositor to transact on the network until a user decides to withdraw them back to Ethereum.
- Exchange deposit – represents a standard transaction on the OMG Network. A safe number of confirmations for a given exchange should be equal to a safe number of confirmations on the Ethereum network. This is known as deposit finality period and is currently set to 10 blocks. The confirmations are counted on Ethereum because the OMG Network relies on rootchain (Ethereum) security and creates blocks only when new transactions are being formed (i.e., on-demand).
While implementing a deposit functionality on a given exchange, you should refer to the latter definition.
Exchange withdrawals represent a standard transaction on the OMG Network.
Step 4: Merge UTXO’s
Step 5: Setup a Watcher
Step 6: Deposit Funds
After the core integration is complete, the exchange should be able to deposit funds to the OMG Network. This will allow exchange users to withdraw funds from an exchange account to an OMG Network compatible wallet.
Exchanges can deposit funds via one of our supported wallets. Visit the integration guide to find the list of wallets you can work with right now.
Step 7: Rebalance Wallets
Let’s Make it Happen!
Dmytro is an experienced technical writer with a multi-dimensional focus on fintech startups. He has developed several open-source blockchain products and written dozens of technical papers for payment companies.Dmitry Baimuratov
Sign up for our newsletter and we'll let you know about everything important at OMG Network.