echovl / cardano-go

Go module for the Cardano Blockchain
GNU General Public License v3.0
51 stars 27 forks source link

babbage min output coin #49

Open zhp12543 opened 1 year ago

zhp12543 commented 1 year ago

Note that with an upcoming upgrade to Babbage era, the protocol parameter coinsPerUTxOWord changes to coinsPerUTxOByte, which means that the price will be calculated per one byte instead of per eight bytes. The calculation will therefore look as follows: minUTxoVal = (160 + sizeInBytes (TxOut)) * coinsPerUTxOByte. For more details, see CIP-55.