Subdomains
Key Characteristics of Subdomains
Create a Subdomain
import { createSubdomain } from "@bonfida/spl-name-service";
// The subdomain to create with or without .sol e.g something.bonfida.sol or something.bonfida
const subdomain = "something.bonfida.sol";
// The owner of the parent domain
const owner = new PublicKey("...");
const ix = createSubdomain(connection, subdomain, owner);
// Sign and send the tx...Transfer a Subdomain
Delete a Subdomain
Last updated