Initializing the widget
Venly Connect has been published to npmjs.com. So by using npm, you can fetch it by executing the following:
npm i @venly/connect
🧙 It is best to point Venly Connect to a specific version when including its URL in your code. See https://unpkg.com/ for more info.
const venlyConnect = new VenlyConnect('Testaccount');
VenlyConnectobject is your entry point to the rest of the widget functionalities, below is its signature. You can connect to several networks and environments by using the
VenlyConnect(clientID:string, options?: ConstructorOptions)
After putting the 2 code snippets above into the editor, your app is now blockchain-enabled!