Skip to content

solforge-protocol/solforge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SolForge

A deterministic, calldata-only ownership protocol on Solana.

SolForge is a memo-based ownership protocol on Solana. It lets anyone permanently claim a Solana slot's burn data by writing a structured JSON memo to the blockchain. An off-chain indexer scans these memos and builds a deterministic state of who owns which slot.

What it does

Solana destroys 50% of every transaction fee. That destruction happens every slot, silently. SolForge makes it visible, ownable, and tradeable.

When you mint through SolForge, you send a Solana transaction containing a memo that references a specific slot number. That memo is your on-chain proof of ownership. Nobody else can claim the same slot — first valid memo wins.

The result is called sBURN: a verifiable record that you own the burn data of a particular Solana slot.

How burn is calculated

burn = floor(sum of all tx fees in slot / 2)

This follows Solana's native rule: half of every transaction fee is permanently removed from circulation, and the other half goes to the validator who produced the block. All burn values are pulled directly from the chain via getBlock. Nothing is estimated.

Protocol Operations & Deterministic State

SolForge is built on a Deterministic State model. It relies on four memo operations. Each one is a JSON payload inside a Solana Memo Program instruction:

Operation What it does
sf-mint Claims a slot. You become the permanent owner of that slot's burn record.
sf-transfer Moves ownership of a minted slot to another wallet.
sf-list Posts a slot for sale on the marketplace at a set SOL price.
sf-buy Purchases a listed slot. SOL goes to the seller minus a 2% protocol fee.

Every operation uses the same envelope:

data:,{"p":"solforge","op":"<operation>","tick":"sburn",...}

The data:, prefix plus a JSON body.

Memo format

All memos go through Solana's Memo Program (MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr). The transaction signer is the actor.

Mint

{"p":"solforge","op":"sf-mint","tick":"sburn","slot":"416398771"}

Rules:

  • The slot must exist on Solana mainnet and have at least one transaction with fees.
  • The slot must not already be minted by someone else.
  • First valid memo in chain order wins.

Transfer

{"p":"solforge","op":"sf-transfer","tick":"sburn","slot":"416398771","to":"7xKXtg..."}

List

{"p":"solforge","op":"sf-list","tick":"sburn","slot":"416398771","price":"1000000000"}

price is in lamports.

Buy

{"p":"solforge","op":"sf-buy","tick":"sburn","slot":"416398771"}

Buyer signs this memo and pays the seller (98%) and protocol fee (2%).

Fees

All operations are cryptographically verified and bound by the protocol's deterministic fee structure:

Action Cost
Minting 0.0003 SOL protocol fee + network fee
Listing 0.00012 SOL list/delist fee
Buying Listed price + 2% protocol fee
Delisting 0.00012 SOL

Ownership rules

  • One owner per slot. A slot can only be minted once, ever.
  • First memo wins. If two people try to mint the same slot, the one with the lower transaction index in the earlier block takes it.
  • Immutable record. The mint memo is a permanent Solana transaction.
  • Transferable. Ownership moves through sf-transfer or marketplace buy/sell.

What's in this repo

Path Contents
docs/protocol.md Full protocol specification & deterministic rules
docs/calldata.md Memo encoding rules and code examples
docs/examples/ JSON payloads for every operation

License

CC BY 4.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors