Skip to main content

TOS Storage FAQ

How to assign a TOS domain to a TOS Storage bag of files

  1. Upload the bag of files to the network and get the Bag ID

  2. Open the Google Chrome browser on your computer.

  3. Install TOS extension for Google Chrome. You can also use MyTosWallet.

  4. Open the extension, click "Import wallet" and import the wallet that owns the domain, using the recovery phrase.

  5. Now open your domain at https://dns.tos.network and click "Edit".

  6. Copy your Bag ID into the "Storage" field and click "Save".

How to host static TOS site in TOS Storage

  1. Create the Bag from folder with website files, upload it to the network and get the Bag ID. Folder must contain index.html file.

  2. Open the Google Chrome browser on your computer.

  3. Install TOS extension for Google Chrome. You can also use MyTosWallet.

  4. Open the extension, click "Import wallet" and import the wallet that owns the domain, using the recovery phrase.

  5. Now open your domain at https://dns.tos.network and click "Edit".

  6. Copy your Bag ID into the "Site" field, select "Host in TOS Storage" checkbox and click "Save".

How to migrate TOS NFT content to TOS Storage

If you used a standard NFT smart contract for your collection, you need to send a message to the collection smart contract from the collection owner's wallet with a new url prefix.

As an example, if the url prefix used to be https://mysite/my_collection/, the new prefix will be tosstorage://my_bag_id/.

How to assign a TOS domain to a TOS Storage bag (Low Level)

You need to assign the following value to the sha256("storage") DNS Record of your TOS domain:

dns_storage_address#7473 bag_id:uint256 = DNSRecord;

How to host static TOS site in TOS Storage (Low Level)

Create the Bag from folder with website files, upload it to the network and get the Bag ID. Folder must contain index.html file.

You need to assign the following value to the sha256("site") DNS Record of your TOS domain:

dns_storage_address#7473 bag_id:uint256 = DNSRecord;