Skip to content

Commit 4fc7d1b

Browse files
Seulgi Kimmergify[bot]
authored andcommitted
Add spec for the minimum fee
1 parent c9ec8b3 commit 4fc7d1b

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

spec/Minimum-Fee.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Transactions have a different minimum fee per type.
2+
3+
The current minimum fee of transaction is defined as:
4+
5+
| Transaction | Minimum fee([CCC](CodeChain-Coin.md)) |
6+
|---------------------|-----------------:|
7+
| Pay | 100 |
8+
| SetRegularKey | 10,000 |
9+
| Store | 5,000 |
10+
| Remove | 5,000 |
11+
| MintAsset | 100,000 |
12+
| TransferAsset | 100 |
13+
| ChangeAssetScheme | 100,000 |
14+
| IncreaseAssetSupply | 100,000 |
15+
| WrapCCC | 100,000 |
16+
| UnwrapCCC | 100 |

spec/Transaction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Only a platform account can generate a transaction.
44
The transaction generator pays the transaction fees.
5+
Transactions that cost less than the [minimum fee](Minimum-Fee.md) are rejected.
6+
The minumum fee is different for each transaction type.
57

68
The seq must be identical with the payer’s account seq.
79
The account seq will be increased by 1 after a transaction is added to the block.

0 commit comments

Comments
 (0)