RIF Name Service (RNS) is a decentralized service that allows users to have a readable domain in any blockchain. In other words, RNS is the phonebook of the blockchain. Humans access information online through domain names, like alice.rsk or bob.rsk. Wallets interact through the blockchain protocol using addresses. RNS translates domain names to addresses so users can send funds and interact with dapps and people using these domain names.
Let’s say you want to send some RIF tokens to Alice. You might start by opening your wallet and asking Alice for her address.
0xfDB628524AD95c95a2C1f8dA9b8Bd92b6478CF6F
When you click on the send button, the wallet takes the address you input and signs a transaction sending money to that address.
However, that’s not the only option for sending money! Alice has registered her domain, so she can just type her domain in your wallet input and send her money instantly.
alice.rsk
The wallet uses RNS to get the domain’s address, it searches for it in the RNS public phonebook. After obtaining the address, you will sign a transaction using the recipient of the money to send.
You can register domains using the RNS Manager. You will need:
With this we are ready. Let’s register a domain!
We can use the RSK Testnet network to try the RNS service. To do so, connect your browser wallet to the RSK Testnet (switch the network in Nifty, or read how to do it in Metamask). Then get fund in the faucets:
We are currently working on a total redesign of our platform. To try all our latest updates you can click on “try the new admin!”, at the bottom of the admin page.
We are working on many other amazing projects. We are actively developing our JavaScript library to make the integration of dapps and wallets much faster and more effective. Try the open-source rns javascript library!