Skip to content

Commit

Permalink
Update transaction.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdwjs23 authored Oct 18, 2023
1 parent 87621ce commit 1b5635e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/io/kthulu/sdk/transaction.kt
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ suspend fun deployErc20Async(
val keyring = KeyringFactory.createFromPrivateKey(privateKey)
caver.wallet.add(keyring)
//deploy contract
val initialSupply = BigInteger.TEN.multiply(BigInteger.TEN.pow(18)) // 10 * 10¹⁸
val initialSupply = BigInteger(totalSupply).multiply(BigInteger.TEN.pow(18))

val tokenInfo = KIP7DeployParams(name, symbol, 18, initialSupply)

Expand Down

0 comments on commit 1b5635e

Please sign in to comment.