A very simple way to connect your app to the web3 Environment
import { Web3Connection } from '@taikai/dappkit';
const web3Connection = new Web3Connection({
web3Host: 'WEB3_LINK',
/* privateKey: '' */
});
await web3Connection.start();
await web3Connection.connect(); // if a privateKey was provided, can be ignored
console.log("User address", await web3Connection.getAddress());