Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Latest commit

 

History

History
42 lines (32 loc) · 1.47 KB

README.md

File metadata and controls

42 lines (32 loc) · 1.47 KB

GeoENS

An extension of ENS (Ethereum Name Service) to support geographically specific query resolution. More background and details are available here.

EIP 2390

EIP 2390 (Ethereum Improvement Proposal) was submitted as an ERC specification.

Deploy notes

Deployment credentials not stored in this repository. To deploy, store deployment mnemonic in a file called .mnemonic and infura credentials in .infuraid and .infurakey.

Follow guide https://medium.com/@guccimanepunk/how-to-deploy-a-truffle-contract-to-ropsten-e2fb817870c1

If using local client - start geth

Create an account.

geth --testnet account new --datadir /mnt/md0/eth/

Start geth.

geth --testnet --syncmode fast --rpc --rpcapi eth,net,web3,personal --rpccorsdomain="*" --allow-insecure-unlock --datadir /mnt/md0/eth/

Truffle is set up to use the account defined by ./.mnmonic.

See geth-console-cheatsheet.md for more.

Migrate & Test

Get some test ether from a faucet then run.

truffle migrate --network <local|localrop|ropsten>

Truffle will NOT deploy new contracts each time you run test. It stores the last deployed contract address in the build artifact json. Note that test file paths can be appended to the command to run specific tests.

truffle test --network <local|localrop|ropsten>