Telos 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

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