Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.79 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.79 KB

Ethereum ENS tutorial and playground with JavaScript and web3.js

For educational purposes. Made for: https://energyweb.atlassian.net/wiki/spaces/EWF/pages/555745281/Using+ENS+on+Tobalaba.

Used with Parity client version 1.11.6 Beta

Dependencies

  • Connection to Tobalaba. For a tutorial on how to set up a local Parity client and connect to the network, check here.
  • Parity UI (Helps a lot).
  • An account with some test Ethers in it. You can use ParityUI for this purpose, then navigate to the faucet to get some ethers.
  • Python 3.6 with pip, and Jupyter notebook

Setup

You need a Jupyter notebook:

pip install jupyter
(or pip3 install jupyter)

Then you need the Javascript (node) kernel fo Jupyter:

npm install -g ijavascript
ijsinstall

Then

git clone https://github.com/ngyam/tutorial-ens-js.git
cd tutorial-ens-js
npm install [email protected]
npm install eth-ens-namehash
npm install ethereum-ens

How to use

  1. Make sure your parity client is running and configured to connect to Tobalaba
  2. Open the Jupyter notebook file and play around.
cd tutorial-ens-js
jupyter notebook

Resources

Energy Web Foundation

Parity client

ENS official documentation

ENS Github Repo

web3.js documentation