🔡Fixes Inscription

Fixes - the inscription contract of the FIXeS protocol.

The data structure of Fixes inscription is referenced from Ordinals.

What is the core concept of Fixes Inscriptions?

Flow is different from other public chains in that its transactions must be executable transaction scripts, which themselves have very strong computational capabilities. Therefore, we choose not to blindly reference the implementation methods of other public chains, but instead try to find the essence of why we need inscription and the inscription protocol from first principles.

For Ordinals, the two key features of their inscription are:

  • one is to directly store any data in bytecode on the chain

  • another is that the UTXO containing the inscription itself has value (holds real $BTC)

So we decided to follow these two features when designing the inscription.

  • We need to encapsulate arbitrary data in the form of [UInt8] and store it on-chain as an inscription resource (Actually, this is the basic functionality of the Flow blockchain.).

  • We also want to store a certain amount of $FLOW in the inscription resource.

Why and How to Store $FLOW in the Fixes inscription?

Because we need to make the inscriptions themselves valuable, and for FIXeS, the inscriptions can only be stored in users' accounts. And when you need to extract and use these $FLOW reasonably in the corresponding application protocol for FIXeS inscriptions (Like 𝔉rc20 Indexer).

As for how to store, thanks to Cadence's resource mechanism. Flow Tokens naturally be composability. Just extract a certain amount of $FLOW and store it in the Inscription resource.

How will these $FLOW be used?

Different application protocols based on the FIXeS protocol, can have completely different usage ways.

Take the 𝔉rc20 Indexer as an example:

  • When each inscription is applied by the 𝔉rc20 Indexer, $FLOW will be extracted to the Token's Treasury Pool (5% will also be extracted to the global pool of the 𝔉rc20 Indexer).

  • When the 𝔉rc20 token is burnable, 𝔉rc20 token holders can withdraw a certain amount of $FLOW from the Treasury Pool through the burn op corresponding to the burned amount.

  • When the 𝔉rc20 token is added to the liquidity pool, $FLOW in the Treasury Pool will also provide certain liquidity support.

More details can be found in 𝔉rc20 Fungible Tokens.

Can I use Fixes Inscription for my project?

Of course, FIXeS is a completely open protocol that you can use to build any application based on the Inscriptions. 𝔉rc20 Indexer is just one experimental example.

Are the contracts open-sourced?

Yes, you can find all contracts here

NetworkContract Address



Last updated