Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
naps000Public

About

EVO — Evolving Value Object: a new on-chain primitive on Solana. Value-backed generative art that evolves over time. Not a token. Not an NFT.

Resources

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

267 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EVO — A Third Model for Digital Assets

Speculation with a floor. SOL that remembers.

Not a token. Not an NFT. A third model for digital assets.

Authors


What Is EVO?

Digital assets today force you to choose between fungibility (tokens) and uniqueness (NFTs). EVO introduces a third model: unique programmable assets with intrinsic redeemable value.

Token  = fungible, no memory, no floor
NFT    = non-fungible, static, no floor, can go to zero
EVO    = non-fungible, SOL-backed floor, carries state, always redeemable

The Value Model

Market Price = Intrinsic Floor + Speculative Premium
  • Intrinsic value: SOL locked inside the EVO account — redeemable via shatter
  • Market value: novelty, rarity, culture, speculation

An EVO trades like a collectible, holds like an NFT, and can't go below its floor. Degens speculate on the premium. The reserve protects the downside. When hype dies, supply contracts via shatter — remaining holders benefit from increased scarcity.

The Architectural Claim

Metaplex treats lamports as rent. EVO treats lamports as economic state.

An EVO is one atomic economic object — identity, value, and behavior in the same account. Not a token pointing to a vault. The account IS the asset. The SOL is in the account, not next to it.

Transfer a Metaplex NFT without its vault. You can. Transfer an EVO without its SOL. You can't — the reserve and object state occupy the same program-owned account, and every ownership transition is governed by the same protocol.

See Protocol Design for the full architectural thesis.


The One-Sentence Pitch

Every collectible has real value inside it. Trade stories. Keep your floor.

Degens trade narratives — rarity, provenance, status, upside. EVO gives that speculation a safety net: the locked SOL inside is always reclaimable via shatter.

Worst case: shatter and recover your floor. Best case: trade it for 10x because the story is hot.

That's speculation with a floor. Not a store of value. Not a degen casino. Both.


How It Works

Forge   → Create an EVO. Pay mint_price (to creator) + lock_amount (inside EVO).
Feed    → Add more SOL. Floor goes up.
Trade   → Sell to anyone. Market sets the premium. Floor protects the downside.
Shatter → Destroy the EVO. Reclaim locked SOL (minus fee). Object gone forever.
Transfer → Send to anyone. No marketplace required.

The Two-Layer Value Model

Layer What it is Who gets it
lock_amount SOL locked inside the EVO PDA — the floor Owner (reclaimable via shatter)
mint_price Price to forge — the speculative entry Creator (at mint)
market premium What someone pays above the floor Seller (on resale)

Example: An EVO contains 1 SOL. It trades for 4 SOL. Why? Because it's the first Genesis object from Artist X, survived 500 trades, and only 100 exist.

Worst case: shatter, recover ~1 SOL. The downside is defined.


The Primitive (Minimal)

What's the smallest possible EVO?

Value + ownership + a behavior interface.

That's it. Everything else is built BY OTHER PEOPLE:

Layer What it is Who builds it
Protocol (EVO) forge, shatter, transfer, feed, behavior interface Us
Apps (Vault, Legacy, Patron, etc.) Behavior templates using the interface Anyone
Marketplace Trading layer Independent protocols
History Provenance tracking Indexers
Art/media Visual presentation Frontends

EVO exposes the interface. The community builds the behaviors.


Program — Live on Mainnet

Program ID Aw4mAC5oUfQCP65a8a6mTwkrL2CoUMsBa45KvWPY3CN2
Old Program (CLOSED) 2AUfmSABAwfSAzMWuDfWXzm6TVVvVapWgtrAEBU4FHeR
Upgrade authority G3aWJsdtrRT12HnC9R2BVoyErQbtGXseaM9c2xt1MJUJ (multisig — see SECURITY.md)
Treasury (fee sink) 8McmuNBz7NHToGG2pBcJEuUpcof5T8HJ7DPG2A1xfkQc
Treasury authority G3aWJsdtrRT12HnC9R2BVoyErQbtGXseaM9c2xt1MJUJ
Network Mainnet-beta — deployed + initialized (live)
Status Live. Program is upgradeable; not yet independently audited — see SECURITY.md

Security note: EVO is live and holds real user SOL, but has not had a professional third-party audit (only automated / AI-assisted reviews so far). The upgrade authority can change program behavior. Read SECURITY.md before locking meaningful value. Stakes are intentionally kept small until the Tier-0 hardening (multisig with independent signers, exit-safe pause, audit) is complete.

Instructions

  • initialize_protocol — one-time setup
  • create_collection — creator sets supply (1–20,000), mint_price, lock_amount, fees, metadata_uri, lifecycle, randomness, burn_destination. Permissionless and unlimited — anyone can create collections. Supply cap is immutable after creation.
  • commit_reveal — creator commits hash(secret) before minting for provably fair reveal
  • forge — mint EVO (pays mint_price to creator, locks SOL inside)
  • feed — add SOL to existing EVO (increases floor, tracked for evolution)
  • list / delist — marketplace listing
  • buy — purchase listed EVO (royalties distributed)
  • shatter — destroy EVO, reclaim locked SOL
  • transfer — send EVO to new owner
  • close_collection — close empty collection, refund rent to creator
  • update_metadata — update collection metadata_uri (creator only)
  • reveal_collection — reveal authority provides secret, program verifies against commitment and derives entropy = keccak256(secret)
  • evolve — permissionless, advances EVO to next lifecycle stage if thresholds met
  • set_visual_stage — authority-only, override EVO visual stage (Custom lifecycle only)

Provably Fair Reveal

Collections can use commit-reveal to prevent the creator from choosing favorable reveal entropy:

  1. Before minting: Creator calls commit_reveal(keccak256(secret)) — stores the commitment hash
  2. Minting occurs: Users forge EVOs with sequential mint indices
  3. Reveal: Reveal authority calls reveal_collection(secret) — program verifies keccak256(secret) == commitment and derives reveal_entropy = keccak256(secret)

The creator cannot try multiple secrets to find a favorable assignment — the commitment is locked before anyone mints.

Configurable Burn Destination

Collections can configure a custom burn destination (defaults to Solana's incinerator). This allows:

  • Production: Burn fees go to 1nc1nerator11111111111111111111111111111111 (irreversible)
  • Testing: Burn fees go to a test wallet — enabling exact balance verification

Set via burn_destination in LifecycleParams at collection creation time.

Visual Lifecycle (Protocol-Native)

Every EVO collection declares a visual lifecycle type on-chain. Every EVO asset stores its own current_stage on-chain. The program enforces valid stage transitions — the marketplace only reads and renders.

LifecycleType Behavior
Static No transitions (art final at forge)
Reveal Pre-reveal → revealed (one transition via reveal_collection)
CommitReveal Like Reveal but with pre-committed secret
RevealAndEvolve Reveal then per-asset evolution via evolve()
Custom Authority can set any valid stage via set_visual_stage()

The collection's metadata_uri points to an off-chain visual manifest (evo-visual-manifest-v1 JSON) that maps each stage to an image URL. An optional artwork_manifest_hash on the collection allows wallets to verify manifest integrity.

Wallets read current_state from the EVO account and resolve the image from the manifest. See the Wallet Integration Guide in the white paper for the full resolution flow.


Documentation

Document Description
01 — Concept Why capital needs identity — the stateful capital thesis
02 — Mechanics Forge, feed, trade, shatter — the lifecycle
03 — Art System Generative art from on-chain data — ships with the primitive
04 — Economics Two-layer value, speculation with a floor, fee structure
05 — Protocol Minimal primitive, behavior interface, composability
06 — Competitive Moat Why EVO wins as a category
07 — EVO vs Everything EVO vs tokens, NFTs, escrow
08 — Roadmap Build phases — primitive + art together, behaviors next
09 — Security Audit notes, security model
10 — Wallet Integration SDK for wallets and developers
11 — Protocol Design Why EVO is a third model for digital assets — the architectural thesis
White Paper Full technical white paper — architecture, value model, lifecycle, security, roadmap

Testing

Localnet CI (64/64 passing)

Every push to main triggers .github/workflows/test.yml which:

  • Builds the Solana program with Anchor
  • Runs 64 integration tests on a local validator (anchor test --provider.cluster localnet)
  • Runs 53 frontend vitest tests

All tests pass: forge, feed, transfer, list, buy, shatter, commit-reveal, reveal, evolve, set_visual_stage, burn fee verification, lifecycle enforcement, self-trade rejection.

Devnet (✅ Deployed + Binary-Verified)

Run Result Notes
Fresh state 34/34 ✅ Full E2E proof: create → forge → verify → trade → feed/evolve → shatter
Post-deploy (stale state) 28/32 4 failures are stale EVO #1 from prior runs (owned by different wallet)

Devnet testing confirmed:

  • All 15 instructions work on real cluster (forge, feed, trade, shatter, reveal, evolve, set_visual_stage)
  • SOL flows correct (creator mint price, locked SOL, royalties, shatter redemption, burn fees)
  • Lifecycle enforcement on-chain (Static rejects transitions, Reveal works, RevealAndEvolve evolves, Custom + set_visual_stage)
  • Commit-reveal verified (commit before mint, wrong secret rejected, double reveal rejected)
  • Artwork manifest hash verified on-chain + tamper detection confirmed
  • 429 rate limiting from public RPC handled via automatic retries

Build Verification

The deployed devnet program binary is byte-for-byte identical to the local build:

Artifact SHA-256
Local .so 80313e72873d895cc9d27b707c70832d473496c2ad233fc7d4c916e86ef35cb7
Devnet dump (trimmed) 80313e72873d895cc9d27b707c70832d473496c2ad233fc7d4c916e86ef35cb7
Match ✅ TRUE

Verification method: solana program dump → trim zero padding → SHA-256 → compare. See docs/build-verification.txt for full details.

Security Audits

Two independent code reviews completed:

Audit Critical High Medium Low Status
First (code-review agent) 5 6 0 0 ✅ All fixed (commit c233e55)
Second (independent) 0 0 1 0 ✅ Fixed (commit d360c7c)
Frontend audit 0 0 0 0 ✅ 4 display bugs fixed (commit 8d21508)

Key fixes applied:

  • Collection substitution guard in buy (evo.collection == collection_config.key())
  • Treasury authentication via ProtocolConfig in buy and shatter
  • Self-trade guard (buyer != seller) in buy
  • Artwork manifest hash commitment on-chain
  • Double-division display bugs in frontend

Devnet CI Workflow

.github/workflows/devnet-test.yml is configured for automated devnet testing. Add a funded keypair as DEVNET_FUNDED_KEYPAIR GitHub secret to enable CI devnet runs.


Quick Start

git clone https://github.com/stephenclawdbot-png/EVO.git
cd EVO

# Build the program (requires Anchor + Solana CLI)
anchor build

# Run tests on localnet
anchor test

# Frontend
cd frontend
npm install
npm run dev

EVO — Stateful Capital. SOL that remembers. Not a token. Not an NFT. Programmable value.


Credits

  • naps — @x.com/naps000
  • admiralfinest — @x.com/admiralfinest
  • Benedict A. — private network engineer
  • Stephen — @x.com/wino65 — GitHub Copilot, AI-assisted development & security review
  • Stephen (in Claude) — AI-assisted development & security review (Anthropic Claude)

About

EVO — Evolving Value Object: a new on-chain primitive on Solana. Value-backed generative art that evolves over time. Not a token. Not an NFT.

Resources

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages