// config network
var network = {
blockchain: "bandchain",
chainId: "band-wenchang-mainnet"
};
// login
mathExtension.getIdentity(network)
// logout
mathExtension.forgetIdentity()
// sign transaction
mathExtension.requestSignature(transaction)
For details, please find the sample in this repo.
If you would like to list your DAPP in Math Wallet, please follow the steps in http://blog.medishares.org/?p=398
如果您希望将您开发的DAPP加入麦子钱包,请查看 http://blog.medishares.org/?p=398