# Burn CCC Helper

BurnCccHelper allows to easily create a new BurnCcc object.

# Provided Operations

  1. Creates a BurnCcc from the given wallet, the amount to be burned and a MintCcc id.

    N.B.: amount is an object.

    fun fromWallet(
        wallet: Wallet,
        id: String,
        amount: StdCoin
    ): BurnCcc
    
    1
    2
    3
    4
    5

# Usage examples

val info = NetworkInfo(bech32Hrp = "did:com:", lcdUrl = "http://localhost:1317")

val userMnemonic = listOf(
    "will",
    "hard",
    "topic",
    "spray",
    "beyond",
    "ostrich",
    "moral",
    "morning",
    "gas",
    "loyal",
    "couch",
    "horn",
    "boss",
    "across",
    "age",
    "post",
    "october",
    "blur",
   "piece",
   "wheel",
   "film",
   "notable",
   "word",
   "man"
)

val wallet = Wallet.derive(mnemonic = userMnemonic, networkInfo = info)

val amount = StdCoin(denom = "uccc", amount = "10")
val id = "74fe4236-925b-4cdf-899b-0844de64eff3"

val burnCcc = BurnCccHelper.fromWallet(
   wallet = wallet,
   amount = amount,
   id = id
)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39