diff --git a/types/address.go b/types/address.go index 78accb7fa..75640d3ea 100644 --- a/types/address.go +++ b/types/address.go @@ -17,6 +17,18 @@ import ( ) const ( + // Constants defined here are the defaults value for address. + // You can use the specific values for your project. + // Add the follow lines to the `main()` of your server. + // + // config := sdk.GetConfig() + // config.SetBech32PrefixForAccount(yourBech32PrefixAccAddr, yourBech32PrefixAccPub) + // config.SetBech32PrefixForValidator(yourBech32PrefixValAddr, yourBech32PrefixValPub) + // config.SetBech32PrefixForConsensusNode(yourBech32PrefixConsAddr, yourBech32PrefixConsPub) + // config.SetCoinType(yourCoinType) + // config.SetFullFundraiserPath(yourFullFundraiserPath) + // config.Seal() + // AddrLen defines a valid address length AddrLen = 20 // Bech32PrefixAccAddr defines the Bech32 prefix of an account's address @@ -25,7 +37,7 @@ const ( // Atom in https://github.com/satoshilabs/slips/blob/master/slip-0044.md CoinType = 118 - // BIP44Prefix is the parts of the BIP32 HD path that are fixed by + // BIP44Prefix is the parts of the BIP44 HD path that are fixed by // what we used during the fundraiser. FullFundraiserPath = "44'/118'/0'/0/0"