GithubHelp home page GithubHelp logo

isabella232 / rns-mainnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rnsdomains/rns-mainnet

0.0 0.0 0.0 64 KB

RNS Mainnet suite - ๐Ÿšฆ validate your implementations

License: MIT License

JavaScript 70.93% Solidity 29.07%

rns-mainnet's Introduction

logo

RIF Name Service

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

The implementaiton found here is the actual implementation deployed on RSK MainNet. RSK Registrar and resolvers might change over time but RNS Registry will not ever change.

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

rns-mainnet's People

Contributors

alebanzas avatar ilanolkies avatar

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.