Sui Name System
Register Sui Name System
Learn how to register Sui Name System
Register your custom domain on the Sui Name System using @mysten/suins.
Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Yes | The name to be registered |
years | number | Yes | Number of years to register |
payToken | string | Yes | The token used for registration (SUI, NS, USDC) |
Example Prompts
Natural Language Prompts
LangChain Tool Prompts
Example Implementation
Implementation Details
- Registers via mysten/suins
- Holds the new NFT domain in the generated wallet
- Transfers the domain from the generated wallet to yours
Response Format
Error Handling
Best Practices
- Check domain is not used
- Check if the domain is available on SuiNS
- Use our tool to resolve the domain name
- Balance Check
- Ensure sufficient funds for payment
- Supported tokens: SUI, NS, USDC
- Security
- Verify transaction details
- Double-check amounts
- Keep private keys secure
- User Experience
- Show transaction progress