#subdomain #registrar #smart-contracts #solana #registration #sns #nft #on-chain #mint

sub-registrar

This on-chain Solana program handles the registration of SNS sub-domains

1 unstable release

0.1.0 Aug 28, 2025

#6 in #registrar

MIT license

125KB
2.5K SLoC

SNS Sub Registrar



Program ID

  • Mainnet program ID: 2KkyPzjaAYaz2ojQZ9P3xYakLd96B5UH6a2isLaZ4Cgs
  • Devnet program ID: 31tT5CmpphAtRL3mstu962zeYH7C6TEkJWLB5nYxciBB

Features

This smart contract enables owners of .sol domains to establish a subdomain registrar, facilitating the issuance of subdomains.

Owners of Subregistrars have the ability to create a custom pricing schedule determined by the length of the subdomain, select their preferred token mint, and restrict issuance exclusively to holders of a particular NFT collection.

Reproducible build

A reproducible build script (build.sh) can be used to build the program using docker

Security

For security disclosures or to report a bug, please visit ImmuneFi for more information on our bug bounty program.

Dependencies

~28MB
~501K SLoC