Created
October 19, 2021 07:24
-
-
Save earthflower/9b4da34c0dac496915c14561128a99cb to your computer and use it in GitHub Desktop.
dapp_stubs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ethereum.isConnected | |
earth.isConnected([‘eth’]) | |
earth.isConnected([‘icp’,‘eth’]); | |
{connected: true, | |
connectedSymbol: ‘icp | |
connectedAddress: ‘xyz’, | |
connectedOn: new Date()} | |
Earth,connect | |
earth.disconnect | |
earth.sign(‘address’, optionsObj} | |
optionsObj = {symbol: ‘icp’, canniserId: ‘xyzzy-‘, canisterMethod: ‘ss’, canniserFunc: () => true } | |
earth.bulkSign |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Send transaction from Dapp