# MintCccHelper
MintCccHelper
allows to easily create a new MintCcc
object.
# Provided Operations
fromWallet
, creates aMintCcc
from the givenwallet
, a depositamount
and theid
.N.B.:
amount
is a list, theid
is a Version 4 UUID identifier.static MintCcc fromWallet({ required Wallet wallet, required List<StdCoin> amount, required String id, })
1
2
3
4
5
# Usage examples
final wallet = Wallet.derive(mnemonic, networkInfo);
final amount = [
StdCoin(
denom: 'uccc',
amount: '10',
),
];
final id = Uuid().v4();
final mintCcc = MintCccHelper.fromWallet(
wallet: wallet,
amount: amount,
id: id,
);
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14