For Math Wallet DAPP Developer
Using Math Wallet Nervos JS API
// log in
window.ckb.getAccount()
// sign out
window.ckb.forgetAccount()
// sign transaction
window.ckb.signTransaction(paths,rawTx,cells)
For details, please find the sample in this repo.