Get Ropsten Ethereum faucet at this site
Ropsten Ethereum, also known as “Ethereum Testnet”, are as the name implies, a testing network that runs the same protocol as Ethereum does and is used to testing purposes before deploying on the main network (Mainnet).
You can write extra options on the adminui or edit the docker-compose.yml
and add extra options, such as:
- EXTRA_OPTS=--syncmode full --gcmode archive --wsapi "db,eth,net,ssh,miner,web3,personal,admin"
If the package is running and you're connected to your dappnode you can use:
var Web3 = require('web3');
var web3 = new Web3('ws://my.ropsten.dnp.dappnode.eth:8546')
web3.eth.getBlockNumber().then(console.log)
In case you are running it locally:
var Web3 = require('web3');
var web3 = new Web3('ws://127.0.0.1:8546')
web3.eth.getBlockNumber().then(console.log)
Updated | Champion/s |
---|---|
✔️ | @pablomendezroyo |
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details