GithubHelp home page GithubHelp logo

ens-test

Instructions

Init and update submodules

git submodule init
git submodule update

Modify 10_export.sh

Pro-tip: you can create a new 10_export_DO_NOT_TRACK.sh if you want to provide some local overrides.

(Optional) Start the Ganache local testnet

./scripts/20_start_ganeche.sh

Deploy the ENS contracts

./scripts/30_deploy_ens.sh

Expected output:

...
Using network 'env.auction'.

Running migration: 1_initial_migration.js
  Deploying Migrations...
  ... 0x...
  Migrations: 0x...
Saving successful migration to network...
  ... 0x...
Saving artifacts...
Running migration: 2_deploy_contracts.js
Available accounts: 0xe6ef0915f245bd9180a8388fe44fb3e93c331561
  Deploying ENSRegistry...
  ... 0x...
  ENSRegistry: 0x...
  Deploying Registrar...
  ... 0x...
  Registrar: 0x...
Saving successful migration to network...
  ... 0x...
  ... 0x...
Saving artifacts...

Run ether-ens commands

This is just to make sure the deployed ENS contracts work as expected:

./scripts/40_run_ethers_ens.sh

Expected output:

Using ENSRegistry at 0x...
...
this(Registrar).config:
{ ensAddress: '0x...' }
Network: mainnet
Initializing a new JSON wallet - test-ethers-ens-account.json
Keep this password and file SAFE!! If lost or forgotten
it CANNOT be recovered, by ANYone, EVER.
Account Password: ***
Confirm Password: ***
New account address: 0x...
this(Registrar).config:
{ ensAddress: '0x...' }
Network: mainnet
kevinzchn.eth
  State:                open
  Available Start Date: 2018-09-03 19:42:26 (1:21 ago)
this(Registrar).config:
{ ensAddress: '0x...' }
Network: mainnet
Account Password: ***
(node:9241) UnhandledPromiseRejectionWarning: Error: sender doesn't have enough funds to send tx. The upfront cost is: 30000000000000000 and the sender's account only has: 0
...

ens-test's Projects

ens icon ens

Implementations for registrars and local resolvers for the Ethereum Name Service

ens-app icon ens-app

Integrated ENS app with registrar, manager and sub-domain registrar combined

ethers-ens icon ethers-ens

Ethereum Name Service (ENS) library and Command-Line Interface.

metamask-extension icon metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension, enables browsing Ethereum blockchain enabled websites.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.