Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

dappnode/DAppNodePackage-ropsten

Repository files navigation

DAppNode package Ropsten

Get Ropsten Ethereum faucet at this site

Why Ropsten ?

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).

Extra options

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"

Connect using web3js

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)

Manteinance

Updated Champion/s
✔️ @pablomendezroyo

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details