window.onekeyobject available in the developer console. This is how your website will interact with OneKey.
Localhost 8545. These are both useful for connecting to a test blockchain, like ganache. You can quickly install and start Ganache if you have
npm i -g ganache-cli && ganache-cli.
-mflag, you can feed it the same seed phrase you have in your OneKey, and the test network will give each of your first 10 accounts 100 test ether, which makes it easier to start work.
Reset Accountbutton in
Settings(available in the top-right menu).
asyncfunction, you may log in like this: