web3 with NativeScript

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



web3 with NativeScript



How can I use the web3.js library (for Ethereum development) in NativeScript?



I tried:


npm install web3@0.20.7 --save


const Web3
=require('https://cdn.jsdelivr.net/gh/ethereum/web3.js/dist/web3.min.js');


const Web3 = require("./web3.min.js");


console.log(Web3)



Also, I added the NativeScript plugin nativescript-nodeify



In the first three cases, I get an exception saying (amongst others) "Calling js method onCreate failed"



Note: I explicitly do not want to go via a back end to handle the interaction with Ethereum









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

make 2 or more post in bootsrap

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3

Firebase Auth - with Email and Password - Check user already registered