Merge pull request #49 from planetmint/jmastr/set-cointype-to-planetmint

[config] Set PLMNT coin type
This commit is contained in:
Julian Strobl 2023-07-26 13:02:16 +02:00 committed by GitHub
commit 1a126d9e5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,5 +19,7 @@ func initSDKConfig() {
config.SetBech32PrefixForAccount(app.AccountAddressPrefix, accountPubKeyPrefix)
config.SetBech32PrefixForValidator(validatorAddressPrefix, validatorPubKeyPrefix)
config.SetBech32PrefixForConsensusNode(consNodeAddressPrefix, consNodePubKeyPrefix)
// Set to PLMNT coin type as defined in SLIP44 (https://github.com/satoshilabs/slips/blob/master/slip-0044.md)
config.SetCoinType(8680)
config.Seal()
}