js_Create_New_Wallet
js_Create_Encrypted_Wallet_From_Recovery_Words
js_Open_Encrypted_Wallet
js_Create_Wallet
js_Create_Encrypted_Wallet_ViewOnly
js_GenerateIAddress
js_GetSeedinLanguage
js_TX_history
js_Transfer2
js_Transfer
js_Transfer_Everything2
js_Transfer_Everything
js_Relay_TX2
js_Relay_TX
js_Close_Encrypted_Wallet
js_Rescan_Blockchain
js_SetOnline
js_SetOffline
js_ChangePassword
js_SetInitialHeight
js_SetMixin
js_SetFeeMultiplier
js_SetSyncTime
js_SetDaemonAddress
js_VerifyAddress
js_VerifyAmount
js_VerifyPassword
js_GetEncryptedCopy
main
主要做这两件事:
注册回调,以处理 Web 页面的各种操作;
同步钱包账户余额等信息。
register_wallet_callbacks
update_balance
主要通过这两种方式与钱包服务端连接:
钱包模块 - 模块方法,数量少
钱包对象 - 实例方法,数量多
walletapi
Local_wallet_instance