EOS Force DAPP Development Document

In-Wallet Web dApp Development

Scatter API

Math Wallet is compatiable with Scatter API.

Scatter is really universal that could not only be used with Chrome browser on desktop but also could be used directly inside mobile terminal such as Math Wallet with just one set of code. By the way, it would be much easier to debug on desktop during development.

Scatter API Official Doc

https://get-scatter.com/docs/dev/getting-started

Scatter API Demo Projects

Scatter API Sample developed by Math Wallet Team

https://github.com/MediShares/scatter-eos-sample

Sample project for EOS newbie

https://github.com/ericfish/EOS-Dev-Book

dApps using Scatter API

FINGER GUESS

Akdex

Scatter API QA

Q. Is it neccessary to distinguish the sactter.js file from wallet or PC side?

A. No, just use 'scatter.min.js'. PC side could run first and then put into Math Wallet and make some mobile adaptation.

Q. How to get more current wallet information, such as orientation / language / fullscreen, etc?

A. We will need math-js-sdk: https://github.com/MediShares/math-js-sdk

MDS-EOSForceJS API

Developed based on jQuery, easy to pick up, only for Math Wallet.

It is easy to use and the MathWallet team has provided the sample includes complete front-end part. (limited to MathWallet environment)

Repo of API and sample:

https://github.com/MediShares/mds-eosforcejs

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.

This protocol is already used by EOS Knight, Newdex, WhaleEX etc.

To use this API, please read the API doc:

https://github.com/MediShares/SimpleWallet

Note: transferReq.blockchain please use 'eosforce'

SimpleWallet API Demo Projects

SDK example developed by Math Wallet team:

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

Android – https://github.com/MediShares/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/MediShares/SimpleWallet

Demo & Sample Code:

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

https://github.com/MediShares/mds-eosjs/tree/master/eos/sample12

Scan QRCode API

MathWallet supports scan QRcode to login and sign transaction based on SimpleWallet protocol.

To use this API, please read the API doc:

https://github.com/MediShares/SimpleWallet