Skip to content
Sample code for Binance Chain dapp API in MathWallet
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sample
README.md

README.md

For Math Wallet DAPP Developer

Using Math Wallet BinanceChain JS API

// config network
var network = {
    blockchain: "binance",
    chainId: "Binance-Chain-Tigris" // testnet: Binance-Chain-Nile
};

// login
mathExtension.getIdentity(network)

// logout
mathExtension.forgetIdentity()

// sign transaction
mathExtension.requestSignature(transaction, network)

For details, please find the sample in this repo.

Download Math Wallet 麦子钱包下载

http://mathwallet.org

If you would like to list your DAPP in Math Wallet, please follow the steps in http://blog.mathwallet.net/?p=398

如果您希望将您开发的DAPP加入麦子钱包,请查看 http://blog.mathwallet.net/?p=398

You can’t perform that action at this time.