Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 6a30c5a May 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts Add new FIFS registrar Feb 11, 2019
migrations Add new FIFS registrar Feb 11, 2019
test Add new FIFS registrar Feb 11, 2019
.gitignore initial commit Nov 14, 2018
LICENSE Create LICENSE May 22, 2019
README.md Minor change in URL May 23, 2019
deployment-configuration.js initial commit Nov 14, 2018
logo.png Add files via upload May 22, 2019
package-lock.json initial commit Nov 14, 2018
package.json initial commit Nov 14, 2018
truffle-config.js initial commit Nov 14, 2018

README.md

logo

RIF Name Service

Implementation for Registry, Registrar, Deed and Resolver for the RIF Name Service

For more information see the documentation.

Mainnet deployment

Details of the registry in the documentation site.

Testnet deployment

See RNS Testnet documentation section for testing environment variants and information.

Install Truffle

sudo npm install -g truffle
npm install

For details see Truffle Docs

Install Package

If Truffle is already installed run:

npm install

Deploy

Deploy to local ganache-cli:

truffle deploy --network dev

Deploy to local RSK node

truffle deploy --network rsk

Test

Test on local ganache-cli:

truffle test --network dev

Test on local RSK node:

truffle test --network rsk

Contracts

RNS.sol

Implementation of the Registry contract, it provides a simple mapping between a domain and its Resolver. Everything related to a domain ownership is managed in this contract, including ownership transfer and sub-domain creation.

TokenRegistrar.sol

Implementation of the Registrar, it handles the auction process for each subnode of the node it owns.

TokenDeed.sol

Implementation of the Deed, it holds RIF tokens in exchange for ownership of a node.

PublicResolver.sol

Implementation of a simple resolver anyone can use; only allows the owner of a node to set its address.

Documentation

For more information see RNS Docs

Contributors


Related links

You can’t perform that action at this time.