Skip to content

Sample code for Binance Chain dapp API in MathWallet

Notifications You must be signed in to change notification settings

kevin71089/math-binancechainjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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

About

Sample code for Binance Chain dapp API in MathWallet

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published