UNPKG

@blockv/sdk

Version:

Allows web apps to display and interact with vatoms.

28 lines (23 loc) 804 B
<!DOCTYPE html> <html> <head> <script src="../../dist/blockv-faces.min.js"></script> </head> <body> <h1>Hello Test!!!!</h1> <div id="messages"></div> <script> let bv = new Blockv({ "appID" : "4cac43b9-6d89-4596-adca-61c4abe0f564", "server" : "https://api.blockv.io/", "websocketAddress" : "wss://newws.blockv.io", "prefix" : "blockv" }) bv.UserManager.login('+27649165910', 'phone_number', 'test').then(() => { bv.client.request('GET', '/v1/user/accounts', null, true).then(uac => { console.log(uac) }) }) </script> </body> </html>