ggez-banking-sdk
Version:
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
66 lines (65 loc) • 2.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.chainInfo = void 0;
// The Cosmos Hub Testnet chain parameters
const chainInfo = (rpc_url, rest_url, chain_id, chain_name, uggzGasPriceStep, uggez1GasPriceStep) => ({
chainId: chain_id,
chainName: chain_name,
rpc: rpc_url,
rest: rest_url,
chainSymbolImageUrl: "https://ggez.one/images/assets/chain.png",
nodeProvider: {
name: "GGEZ1 Foundation DAO LLC.",
email: "ggez@ggez.one",
website: "https://ggez.one",
},
bip44: {
coinType: 118,
},
bech32Config: {
bech32PrefixAccAddr: "ggez",
bech32PrefixAccPub: "ggez" + "pub",
bech32PrefixValAddr: "ggez" + "valoper",
bech32PrefixValPub: "ggez" + "valoperpub",
bech32PrefixConsAddr: "ggez" + "valcons",
bech32PrefixConsPub: "ggez" + "valconspub",
},
currencies: [
{
coinDenom: "GGEZ1",
coinMinimalDenom: "uggez1",
coinDecimals: 6,
coinImageUrl: "https://ggez.one/images/assets/ggez1.png",
},
{
coinDenom: "GGZ",
coinMinimalDenom: "uggz",
coinDecimals: 6,
coinImageUrl: "https://ggez.one/images/assets/ggz.png",
},
],
feeCurrencies: [
{
coinDenom: "GGEZ1",
coinMinimalDenom: "uggez1",
coinDecimals: 6,
gasPriceStep: uggez1GasPriceStep,
coinImageUrl: "https://ggez.one/images/assets/ggez1.png",
},
{
coinDenom: "GGZ",
coinMinimalDenom: "uggz",
coinDecimals: 6,
gasPriceStep: uggzGasPriceStep,
coinImageUrl: "https://ggez.one/images/assets/ggz.png",
},
],
stakeCurrency: {
coinDenom: "GGEZ1",
coinMinimalDenom: "uggez1",
coinDecimals: 6,
coinImageUrl: "https://ggez.one/images/assets/ggez1.png",
},
features: ["cosmwasm"],
});
exports.chainInfo = chainInfo;