Contract Template Catalog
This page summarizes SatoshiNet smart contract templates, runtimes, and testnet entries. For more detailed protocol rules, see Smart Contract Protocol.
Current Status Matrix
Agent / Prediction Contract
Implemented / Testing
First public testnet validation scenario
Template Contract: AMM
Implemented / Testnet Iterating
PWA Tools -> Smart Contracts, Deploy AMM Pool
Smart contract template test capability, not market AMM
Template Contract: LimitOrder
Implemented / Testnet Iterating
PWA Tools -> Smart Contracts, Deploy Limit Order Module
Smart contract template test capability, not market limit order
Template Contract: Asset Exchange
Implemented / Testnet Iterating
To be added
Fixed-rule asset exchange scenario
Template Contract: Autopay
Implemented / Testnet Iterating
To be added
autopay.tc, pays a fixed or linear fee to one configured recipient by block height
EVM Runtime
Implemented / Testnet Iterating
Reuses Solidity / EVM ecosystem; invocation uses ABI calldata, and asset settlement still follows SatoshiNet UTXO model
EVM Sample: ConstantProductAMM
Implemented / Testing
PWA Tools -> Smart Contracts, EVM Sample Contracts
Solidity AMM standard sample, not market AMM
EVM Sample: LimitOrderBook
Implemented / Testing
PWA Tools -> Smart Contracts, EVM Sample Contracts
Solidity limit order standard sample, not market limit order
Template Documents Should Include
Each template contract should eventually include:
Contract type and template name.
Deployment parameters.
Invocation interfaces.
Input asset rules.
Result TX output rules.
Permission boundary.
Fees and GAS.
Explorer / Indexer verification method.
Testnet contract address or example txid.
Known limitations.
Current Priorities
Prediction contract: complete user testing, deployer quickstart, and testnet evidence.
AMM template contract: complete deployment, swap, add liquidity, remove liquidity, and verification flow.
LimitOrder template contract: complete order creation, filling, cancellation, and Result TX verification flow.
Autopay template contract: complete deployment, funding, per-block payment, close, and Result TX verification flow.
EVM sample contracts: add testnet addresses, txids, calldata generation records, and Explorer evidence for
ConstantProductAMMandLimitOrderBook.EVM Runtime: add RPC, Chain ID, example repo, Solidity deployment flow, estimate flow, and ABI calldata invocation flow.
Page Status: Planning
Last updated