CryptoFly.us | CRYPTOCURRENCY BITCOIN SHIRTS CLOTHING APPAREL HATS

CRYPTO NEWS

What value to set for Web3 provider when dapp is deployed to Heroku or other Hosting site

I am trying to host my dapp on Heroku and smart contract on Rinkeby network. My dapp has a front end in node.js and jquery and an express backend server that I use to listen to solidity events and to ‘get’ and ‘put’ data from ‘Mlab’ mongodb offchain server. The app works perfectly fine on my Local Ganache and my server.js and below line of code to get the web3 instance.

const provider = new Web3.providers.HttpProvider("HTTP://127.0.0.1:8545"); 

My question is while deploying the server.js to Heroku should I keep this web3 provider setting same or does it need to be changed to some other value, please suggest.

How to store mnemonics in hd wallets?

I am developing a crypto wallet, I learned how to create a mnemonic phrase, the question arose of the safe storage of this phrase, where it is better to store it, given that the application is written on android, there is an idea to make a separate service for creating and transmitting these keys, but::Listen

I am developing a crypto wallet, I learned how to create a mnemonic phrase, the question arose of the safe storage of this phrase, where it is better to store it, given that the application is written on android, there is an idea to make a separate service for creating and transmitting these keys, but there is a fear that the request that goes between the user and the service can be intercepted, tell me how to store and how to transmit.

What value to set for Web3 provider when dapp is deployed to Heroku or other Hosting site

Shopping cart
There are no products in the cart!
Continue shopping
0