SourceMint (SRCMNT)
Contribution, minted. SourceMint is an experiment in accounting for open-source
contribution on-chain: a fixed-supply ERC-20 on Base with no ICO and no token sale.
Supply enters circulation as rewards for merged contributions
(reward policy); once distributed, the token trades freely like any
ERC-20. The accounting invariant is enforced by code: every transfer out of a
project wallet — rewards and any treasury liquidity provision alike — must be
recorded in rewards/ledger.json with a reason, and
CI verifies the ledger against the chain — an
unaccounted movement fails the build in public.
Website: https://srcmnt.xyz · X: https://x.com/srcmnt
Open-source ERC20 token contract built with Foundry.
Contract
- Name:
SourceMint
- Symbol:
SRCMNT
- Decimals: 18
- Supply model: fixed supply minted to deployer at deployment time
- Extensions: Burnable + Permit (gasless approvals)
Requirements
Dev Commands
make fmt
make test
make snapshot
make coverage
Deploy (Sepolia)
Set env vars (DO NOT COMMIT THESE):
export RPC_URL="https://sepolia.YOUR-RPC-PROVIDER.example"
export PRIVATE_KEY="0xYOUR_PRIVATE_KEY"
export ETHERSCAN_API_KEY="YOUR_ETHERSCAN_API_KEY"
export INITIAL_SUPPLY="1000000000000000000000000"
Deploy + verify:
make deploy-sepolia
Deployment artifacts:
deployments/11155111.json (auto-written by the script)
Deployments
- Base Mainnet (8453):
0x914F6b6a0DaD39A3CB932dcf4D1af885C7c08EeB (GA)
- Sepolia (11155111):
0x8c2B67EA395824Cc069F5e13b1d80E6016751a4A (testnet)