0g-chain/chaincfg/config.go

16 lines
255 B
Go
Raw Normal View History

2024-04-24 07:10:22 +00:00
package chaincfg
import sdk "github.com/cosmos/cosmos-sdk/types"
const (
AppName = "0gchain"
EnvPrefix = "0GCHAIN"
)
func SetSDKConfig() *sdk.Config {
config := sdk.GetConfig()
setBech32Prefixes(config)
2024-04-25 03:33:14 +00:00
setBip44CoinType(config)
2024-04-24 07:10:22 +00:00
return config
}