Inscription Operator Setup

This setup is for 3rd parties interested in integrating with Inscribe.

Just like how NFTs require metadata to be hosted, whether that is on a server or IPFS, inscriptions also require a place to be stored.

‚Äč

Add Base URI

In order to get started, call addBaseURI

This adds base URI to the contract state. In our case, we will add https://inscribe.so/token/ as the base URI.

This will emit a baseURIId which will be needed to pass along to add inscription events.

Add Inscription

When an inscription gets added, an inscription id is emitted. Thus, it is necessary to point to the content hash at the following URI {baseURI}{inscriptionId}

For our case, if we added a new inscription

baseURI https://inscribe.so/token/

inscriptionId 145

Then on the server, we must host the content hash and any additional metadata at https://inscribe.so/token/145