new WalletCore(config)
Parameters:
| Name | Type | Description |
|---|---|---|
config |
SDK users' config, if variable in both config and sdk config, users config overrides SDK config. |
- Source:
- core/walletCore.js
Methods
-
<async> recordMonitor()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<void>
-
<async> recordMonitorNormal()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<void>
-
<async> recordMonitorBTC()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<void>
-
<async> recordMonitorOTA()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<void>
-
<async> init()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<void>
-
close()
-
- Source:
- core/walletCore.js
-
<async> initLogger()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<void>
-
<async> initSender()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<any>
-
initWeb3Sender()
-
- Source:
- core/walletCore.js
-
<async> initIWAN()
-
- Source:
- core/walletCore.js
-
<async> initCrossInvoker()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<void>
-
<async> initGlobalScVar()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<void>
-
<async> initDB()
-
- Source:
- core/walletCore.js
Returns:
- Type
- Promise.<void>