# MintCccHelper

MintCccHelper allows to easily create a new MintCcc object.

# Provided Operations

  1. fromWallet, creates a MintCcc from the given wallet, a deposit amount and the id.

    N.B.: amount is a list, the id 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