Cross-Chain Domain (Experimental)
A tutorial on how to bridge your .sol domain name to another chain via our Wormhole integration
Building a cross-chain name service is an unprecedented innovation in the blockchain space. This allows users to transact using a single domain name across multiple chains, simplifying transactions and enhancing user experience. The long-term vision is to have a universally accepted domain name that can be used everywhere, fostering greater interoperability and interconnectedness among chains part of the Wormhole bridge
There are two methods of bridging a domain, (1) bridging a domain from Solana and (2) registering domain names directly on a non-Solana chain
Bridging your domain
In the instance where you already own a domain and want to bridge it, or if register a domain on a non-Solana chain is not available, you will follow this approach
To bridge your domain to a non-Solana chain, connect your wallet and view your profile. Click on a domain you want to bridge


Click on the "Bridge to another chain" and enter the address of the corresponding chain you want to bridge to. In this example we are using Injective


After you have successfully added your bridging address you will be asked to verify ownership of that address


Click the Next
button and copy the message indicated. Navigate over to the Etherscan link in step 1. Once there, select the Sign Message
button indicated below.


You will be prompted to connect your wallet. Connect the EVM wallet address associated with your Injective address. Then paste the message you copied on sns.id
Sign the message and copy the Signature Hash
indicated below


Hop back over your sns.id tab, go to step 3 and paste the hash. Select next to complete the transaction. When completed you have officially bridged your domain. To double-check you can drop the record section of the domain and have a look at the INJ
record


Registering on Injective
This method will be used to register a domain directly on a non-Solana chain and therefore, automatically bridge your newly bought domain
Visit https://injective.sns.id/ (an Injective native site) and connect your Injective-compatible wallet


Search for your desired domain or select from the alternative suggestions. When you are happy with your choice, select Register
and complete the transactions


Once your domain is successfully registered on Injective it has automatically been bridged. You can now use your domain in wallets (Leap Wallet is supported) like you do on Solana. You can find your domain by clicking on your wallet address in the top right-hand corner


Change resolving address
On the injective.sns.id you can change the domain's resolving address. This means you are changing the funds' receiving address but not the domain's owner. The owner of the domain can change the resolving address at any time again
Open the modal in the top right-hand corner, click the Edit
button and insert the new receiving address - then complete the transaction


Transfer domain
Transferring a domain to another Injective address would change the owner of the domain. Click Addr.
, enter the new owner's address and complete the transaction


Domain name transfers are irreversible
Send to Solana
If you want to send your domain to Solana you would select the Sol.
button. Enter your Solana wallet address and confirm the transaction. After a successful transfer to Solana, you can visit https://v1.sns.id/ and connect with the Solana wallet you transferred it to to find your domain. This domain will now function as any .sol domain


Bridged domain use cases
The read-only
means that you can only transact with your .sol domain name i.e when it is bridged you can use your .sol to send and receive funds instead of your non-Solana address where integrated
Handling Fees
Bridging a domain costs more in gas than a normal transaction. Hold at least 0.1 SOL in your wallet to ensure the transactions are successful
The additional fees can come from:
Record allocation cost (if does not already exist)
Wormhole message allocation account cost
Wormhole fee
Cranking fee
Normal base transaction fee
Last updated
Was this helpful?