Replies: 1 comment 1 reply
|
In my opinion you are on the right way. There are two separate limits:
The important distinction is that only minMintAmount has an activation-height mechanism. minMintAmountActivationHeight switches the mint floor from one cent to the configured $100 minimum at the designated height. So the accurate current framing is:
For example, an AI service could accept a $10 DD deposit and decrement an internal balance by a few cents per API call, periodically settling on-chain. But a fresh $0.03 DD output for every HTTP request is invalid under current consensus. In my opinion for documentation today, treating DD as ≥ $1 on-chain settlement and DGB as the micro-payment tier is currently the correct statement. |
Uh oh!
There was an error while loading. Please reload this page.
Also raised in the oracle Gitter — posting here for a durable answer, and because I filed a related RPC issue at #424.
Building an agent-payments integration on DigiDollar, I ran into these in
src/consensus/digidollar.h:CAmount minMintAmount = 10000; // $100 minimum mint
CAmount minOutputAmount = 100; // $1 minimum output
minOutputAmountis enforced in consensus validation (digidollar/validation.cpp:826), so a sub-$1 DD output is invalid to the network, not merely refused by the wallet.Why I'm asking
The emerging AI-agent payment standards (x402, AP2) settle fractions of a cent per API call, and today that's almost all USDC-on-Base — an asset with an issuer-level blacklist, on an L2 with a single sequencer. DigiDollar is the obvious decentralized alternative: collateral-backed, no freeze function, PoW settlement. But the $1 floor rules out per-call metering.
I've routed sub-dollar cases to raw DGB in my tools (no floor there), but that loses the stable pricing that makes DD attractive for machine payments in the first place.
The question
minMintAmountActivationHeightexists, which suggests these params were designed to be adjustable at a block height. Is there appetite to revisit the floor later?Any of these is a fine answer — I mainly want to document it accurately in the tools I'm publishing rather than guess.
Context: https://github.com/dgb-tools (testnet only)
All reactions