example-js-sdk 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ import { PageRequest } from "../codec/cosmos/base/query/v1beta1/pagination";
2
2
  import { StdFee } from "@cosmjs/amino";
3
3
  import BigNumber from "bignumber.js";
4
4
  import { Blockchain, BlockchainV2, EVMChain as EVMChainV2 } from "../util/blockchain";
5
- export declare const DEFAULT_FEE_DENOM = "obx";
5
+ export declare const DEFAULT_FEE_DENOM = "fee";
6
6
  export declare const DEFAULT_GAS_PRICE: BigNumber;
7
7
  export declare const DEFAULT_GAS: BigNumber;
8
8
  export declare const PAGINATE_10K: PageRequest;
@@ -8,13 +8,13 @@ const pagination_1 = require("../codec/cosmos/base/query/v1beta1/pagination");
8
8
  const proto_signing_1 = require("@cosmjs/proto-signing");
9
9
  const bignumber_js_1 = __importDefault(require("bignumber.js"));
10
10
  const long_1 = __importDefault(require("long"));
11
- exports.DEFAULT_FEE_DENOM = "obx";
11
+ exports.DEFAULT_FEE_DENOM = "fee";
12
12
  // 0.0000001 SWTH
13
13
  exports.DEFAULT_GAS_PRICE = new bignumber_js_1.default(10);
14
14
  exports.DEFAULT_GAS = new bignumber_js_1.default(100000000);
15
15
  exports.PAGINATE_10K = pagination_1.PageRequest.fromPartial({ limit: new long_1.default(10000) });
16
16
  exports.DEFAULT_FEE = {
17
- amount: (0, proto_signing_1.coins)(exports.DEFAULT_GAS_PRICE.times(exports.DEFAULT_GAS).dp(0).toString(), "obx"),
17
+ amount: (0, proto_signing_1.coins)(exports.DEFAULT_GAS_PRICE.times(exports.DEFAULT_GAS).dp(0).toString(), "fee"),
18
18
  gas: exports.DEFAULT_GAS.toString(10),
19
19
  };
20
20
  exports.CARBON_GAS_PRICE = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-js-sdk",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "TypeScript SDK for Mememax Orbix blockchain",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",