UNPKG

@kubiklabs/wasmkit

Version:

Wasmkit is a development environment to compile, deploy, test, run cosmwasm contracts on different networks.

47 lines (46 loc) 1.51 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_TEMPLATE_PLAYGROUND = exports.TEMPLATES_GIT_REMOTE_PLAYGROUND = exports.DEFAULT_TEMPLATE = exports.TEMPLATES_GIT_REMOTE = exports.defaultFees = exports.WASMKIT_NAME = void 0; exports.WASMKIT_NAME = "wasmkit"; // TODO: read denom from network type exports.defaultFees = { upload: { amount: [{ amount: "850000", denom: "untrn" }], gas: "1000000" }, init: { amount: [{ amount: "225000", denom: "untrn" }], gas: "500000" }, exec: { amount: [{ amount: "70000", denom: "untrn" }], gas: "200000" }, send: { amount: [{ amount: "50000", denom: "untrn" }], gas: "80000" } }; // map fees struct with chain id // mainnet => juno-1 => defaultFeesMainnet // else => defaultFees // export const defaultFeesTerra = { // upload: { // amount: [{ amount: "350000", denom: "uluna" }], // gas: "2000000" // }, // init: { // amount: [{ amount: "250000", denom: "uluna" }], // gas: "1250000" // }, // exec: { // amount: [{ amount: "250000", denom: "uluna" }], // gas: "1250000" // } // }; // initialize template exports.TEMPLATES_GIT_REMOTE = "https://github.com/kubiklabs/wasmkit-templates"; exports.DEFAULT_TEMPLATE = "counter"; // playground related constants exports.TEMPLATES_GIT_REMOTE_PLAYGROUND = "https://github.com/kubiklabs/wasmkit-playground"; exports.DEFAULT_TEMPLATE_PLAYGROUND = "playground";