Prerequisites
- CLI setup with keys and RPC endpoint configured
- Registry payment token mint and treasurer token account ready
- Fee payer funded for signer costs
Command Overview
Initialize Registry
Create the .thru registry config and root registrar
Purchase Domain
Buy a new .thru domain and create its lease
Renew Lease
Extend an existing domain lease
Claim Expired Domain
Reclaim domains whose leases have expired
Initialize Registry
Create the.thru registry and price configuration. The CLI derives the config account (seed config) and validates the token mint/treasurer accounts against the provided token program.
Root registrar address for the base name service program (must not yet exist)
Token account that receives payments; must use the registry mint and match the token program
Registry payment token mint address
Price in base units per year of registration (applied to purchases and renewals)
Root name stored in the registry config (max 64 characters)
Override base name service program address
Override token program address
Hex state proof for the config account; auto-generated if omitted
Hex state proof for the root registrar account; auto-generated if omitted
Signer paying transaction costs
Override the thru registrar program address
Purchase Domain
Buy a.thru domain for a number of years. The CLI derives the lease account from the domain name and validates your payer token account before submitting.
Domain segment without
.thru (1-64 characters)Lease term in years (must be > 0)
Initialized registry config account address
Token account for the registry mint owned by the fee payer
Hex state proof for the lease account; auto-generated if omitted
Hex state proof for the domain account; auto-generated if omitted
Signer for the transaction
Override the thru registrar program address
Renew Lease
Extend a domainβs lease using the same registry mint and treasurer validation as purchases.Existing lease account address for the domain
Additional years to add (must be > 0)
Registry config account address
Registry mint token account owned by the fee payer
Signer for the transaction
Override the thru registrar program address
Claim Expired Domain
Reclaim a domain whose lease has expired by paying for a new term.Expired lease account address to reclaim
Years to apply to the new lease
Registry config account address
Registry mint token account owned by the fee payer
Signer for the transaction
Override the thru registrar program address