ONT DAPP Development Document

Web dApp Development

dAPI

Math Wallet is compatible with ONT dAPI.

dAPI official document

https://dev-docs.ont.io/#/docs-en/dApi/00-overview

dApps using dAPI

ONTBET

HyperDragons Go!

Native dApp Development

SimpleWallet API

If your DAPP is based on native development or browser based, you could open MathWallet to sign your transaction through SimpleWallet protocol or use Math Wallet to scan and authorize.

MathWallet SimpleWallet Protocol supports:

Native APP can open MathWallet to sign your transaction.

To use this API, please read the API doc:

https://github.com/mathwallet/SimpleWallet

Note: transferReq.blockchain please use 'ont'

SimpleWallet API Demo Projects

SDK example developed by Math Wallet team:

iOS – https://github.com/mathwallet/MathWalletSDK-iOS

Android – https://github.com/mathwallet/MathWalletSDK-Android

Web dApp Development

Web dApp within mobile browser can open MathWallet to sign your transaction in a link format.

The format is also based on SimpleWallet Protocol MathWallet version:

https://github.com/mathwallet/SimpleWallet

Demo & Sample Code:

http://developer.mathwallet.org/sample12/

https://github.com/mathwallet/math-eosjs/tree/master/eos/sample12