invoke functions between makkii and web dapp, inspired by react-native-webview-invoke
import makkii from 'makkii-webview-bridge' makkii.getCurrentAccount().then(console.log) // get current account
Current account request from makkii wallet
Send tx
try send txObj
Type: function (txObj: any): Deferred<string>
Set current webview account by makkii
this func will be call by makkii wallet
account
string account address
Get current account from makkii
request current account to makkii
Returns any account address
Switch account
try switch account
Returns any account address
Check is connect to makkii