Cit is the Citrea Naming Service.
Just call the registerWithoutFee function on the Payment contract.
Parameters:
- You will need to pass your EVM wallet address.
namehashof your name. For Example: If you havemegabyte.citname, then run the following script to get the namehash of your name.const ethers = require('ethers'); const name = 'megabyte.cit'; const namehash = ethers.namehash(name); console.log(namehash);
- URI your token is pointing to. Following the NFT metadata standard.
You will need to call the registerWithFee function on the Payment contract and pay 0.005 cBTC as one time fee.
Parameters:
- You will need to pass your EVM wallet address.
namehashof your name. For Example: If you havemegabyte.citname, then run the following script to get the namehash of your name.const ethers = require('ethers'); const name = 'megabyte.cit'; const namehash = ethers.namehash(name); console.log(namehash);
- URI your token is pointing to. Following the NFT metadata standard.
0x6C27b8604e7DAe0D7e319a9C45006BAd71EaB7a9
This is the ERC721 contract for .cit names.
0x9846575bB1185D42C7A2AafB6963ED5bcc02670e
This is regsitry for the .cit names, storing the owners with respect to the tokenId and vice versa.
0xba4C071bb83dCC799311b7BF1077D837212FeA3d
This is the contract for handling the payments for .cit names and interacting with frontend.
