@firmachain/firma-js 0.3.6-beta1 → 0.3.6

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.
@@ -6,7 +6,7 @@ import { FirmaConfig } from "./FirmaConfig";
6
6
  import { FirmaWalletService } from "./FirmaWalletService";
7
7
  import { Any } from "cosmjs-types/google/protobuf/any";
8
8
  import { CommonTxClient } from "./firmachain/common/CommonTxClient";
9
- import { ArbitraryVerifyData } from "./firmachain/common/signingprotobufstargateclient";
9
+ import { ArbitraryVerifyData } from "./firmachain/common/SigningProtobufStargateClient";
10
10
  export declare class FirmaUtil {
11
11
  static config: FirmaConfig;
12
12
  static readonly FctDecimal: number;
@@ -88,9 +88,9 @@ var CommonTxClient_1 = require("./firmachain/common/CommonTxClient");
88
88
  var TendermintQueryClient_1 = require("./firmachain/common/TendermintQueryClient");
89
89
  var bignumber_js_1 = require("bignumber.js");
90
90
  var tendermint_rpc_1 = require("@cosmjs/tendermint-rpc");
91
- var signingprotobufstargateclient_1 = require("./firmachain/common/signingprotobufstargateclient");
92
- var signingstargateclient_1 = require("./firmachain/common/signingstargateclient");
93
91
  var coin_1 = require("cosmjs-types/cosmos/base/v1beta1/coin");
92
+ var SigningStargateClient_1 = require("./firmachain/common/SigningStargateClient");
93
+ var SigningProtobufStargateClient_1 = require("./firmachain/common/SigningProtobufStargateClient");
94
94
  var CryptoJS = require("crypto-js");
95
95
  var sha1 = require("crypto-js/sha1");
96
96
  var sha256 = require("crypto-js/sha256");
@@ -337,7 +337,7 @@ var FirmaUtil = /** @class */ (function () {
337
337
  switch (_a.label) {
338
338
  case 0:
339
339
  _a.trys.push([0, 4, , 5]);
340
- return [4 /*yield*/, signingprotobufstargateclient_1.SigningProtobufStargateClient.connectWithSigner(FirmaUtil.config.rpcAddress, wallet.getRawWallet(), {})];
340
+ return [4 /*yield*/, SigningProtobufStargateClient_1.SigningProtobufStargateClient.connectWithSigner(FirmaUtil.config.rpcAddress, wallet.getRawWallet(), {})];
341
341
  case 1:
342
342
  client = _a.sent();
343
343
  return [4 /*yield*/, wallet.getAddress()];
@@ -369,7 +369,7 @@ var FirmaUtil = /** @class */ (function () {
369
369
  switch (_a.label) {
370
370
  case 0:
371
371
  _a.trys.push([0, 2, , 3]);
372
- return [4 /*yield*/, signingprotobufstargateclient_1.SigningProtobufStargateClient.experimentalAdr36Verify(data, checkMsg)];
372
+ return [4 /*yield*/, SigningProtobufStargateClient_1.SigningProtobufStargateClient.experimentalAdr36Verify(data, checkMsg)];
373
373
  case 1: return [2 /*return*/, _a.sent()];
374
374
  case 2:
375
375
  error_5 = _a.sent();
@@ -397,7 +397,7 @@ var FirmaUtil = /** @class */ (function () {
397
397
  granter: result.fee.granter || "",
398
398
  payer: ""
399
399
  };
400
- return [4 /*yield*/, signingstargateclient_1.SigningStargateClient.makeSignDocForSend(signerAddress, pubkey, messages, fee, result.memo, serverUrl, chainID, registry)];
400
+ return [4 /*yield*/, SigningStargateClient_1.SigningStargateClient.makeSignDocForSend(signerAddress, pubkey, messages, fee, result.memo, serverUrl, chainID, registry)];
401
401
  case 1: return [2 /*return*/, _a.sent()];
402
402
  }
403
403
  });
@@ -3,7 +3,7 @@ import { SignAndBroadcastOptions } from ".";
3
3
  import { SignDoc, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
4
4
  import { FirmaWalletService } from "../../FirmaWalletService";
5
5
  import { DeliverTxResponse } from "@cosmjs/stargate";
6
- import { TxRawExt } from "./signingstargateclient";
6
+ import { TxRawExt } from "./SigningStargateClient";
7
7
  export declare class ITxClient {
8
8
  private readonly wallet;
9
9
  private readonly serverUrl;
@@ -38,7 +38,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ITxClient = void 0;
40
40
  var tx_1 = require("cosmjs-types/cosmos/tx/v1beta1/tx");
41
- var signingstargateclient_1 = require("./signingstargateclient");
41
+ var SigningStargateClient_1 = require("./SigningStargateClient");
42
42
  var ITxClient = /** @class */ (function () {
43
43
  function ITxClient(wallet, serverUrl, registry) {
44
44
  this.wallet = wallet;
@@ -56,7 +56,7 @@ var ITxClient = /** @class */ (function () {
56
56
  case 0:
57
57
  if (!this.wallet.isLedger()) return [3 /*break*/, 1];
58
58
  return [2 /*return*/, this.wallet.signLedger(msgs, { fee: fee, memo: memo }, this.registry)];
59
- case 1: return [4 /*yield*/, signingstargateclient_1.SigningStargateClient.connectWithSigner(this.serverUrl, this.rawWallet, { registry: this.registry })];
59
+ case 1: return [4 /*yield*/, SigningStargateClient_1.SigningStargateClient.connectWithSigner(this.serverUrl, this.rawWallet, { registry: this.registry })];
60
60
  case 2:
61
61
  client = _b.sent();
62
62
  return [4 /*yield*/, this.rawWallet.getAccounts()];
@@ -73,7 +73,7 @@ var ITxClient = /** @class */ (function () {
73
73
  var client, txBytes;
74
74
  return __generator(this, function (_a) {
75
75
  switch (_a.label) {
76
- case 0: return [4 /*yield*/, signingstargateclient_1.SigningStargateClient.connectWithSigner(this.serverUrl, this.rawWallet, { registry: this.registry })];
76
+ case 0: return [4 /*yield*/, SigningStargateClient_1.SigningStargateClient.connectWithSigner(this.serverUrl, this.rawWallet, { registry: this.registry })];
77
77
  case 1:
78
78
  client = _a.sent();
79
79
  txBytes = tx_1.TxRaw.encode(txRaw).finish();
@@ -88,7 +88,7 @@ var ITxClient = /** @class */ (function () {
88
88
  var client;
89
89
  return __generator(this, function (_a) {
90
90
  switch (_a.label) {
91
- case 0: return [4 /*yield*/, signingstargateclient_1.SigningStargateClient.connectWithSigner(this.serverUrl, this.rawWallet, { registry: this.registry })];
91
+ case 0: return [4 /*yield*/, SigningStargateClient_1.SigningStargateClient.connectWithSigner(this.serverUrl, this.rawWallet, { registry: this.registry })];
92
92
  case 1:
93
93
  client = _a.sent();
94
94
  return [4 /*yield*/, client.broadcastTx(txBytes)];
@@ -117,7 +117,7 @@ var ITxClient = /** @class */ (function () {
117
117
  var client;
118
118
  return __generator(this, function (_a) {
119
119
  switch (_a.label) {
120
- case 0: return [4 /*yield*/, signingstargateclient_1.SigningStargateClient.connectWithSigner(this.serverUrl, this.rawWallet, { registry: this.registry })];
120
+ case 0: return [4 /*yield*/, SigningStargateClient_1.SigningStargateClient.connectWithSigner(this.serverUrl, this.rawWallet, { registry: this.registry })];
121
121
  case 1:
122
122
  client = _a.sent();
123
123
  return [4 /*yield*/, client.signDirectForSignDoc(signerAddress, signDoc)];
@@ -1,7 +1,7 @@
1
1
  import { OfflineDirectSigner } from "@cosmjs/proto-signing";
2
2
  import { Comet38Client } from "@cosmjs/tendermint-rpc";
3
3
  import { Account } from "./accounts";
4
- import { StargateClient, StargateClientOptions } from "./stargateClient";
4
+ import { StargateClient, StargateClientOptions } from "./StargateClient";
5
5
  export interface SignerData {
6
6
  readonly accountNumber: number;
7
7
  readonly sequence: number;
@@ -92,7 +92,7 @@ var signing_1 = require("cosmjs-types/cosmos/tx/signing/v1beta1/signing");
92
92
  var keys_1 = require("cosmjs-types/cosmos/crypto/secp256k1/keys");
93
93
  var accounts_1 = require("./accounts");
94
94
  var axios_1 = __importDefault(require("axios"));
95
- var stargateClient_1 = require("./stargateClient");
95
+ var StargateClient_1 = require("./StargateClient");
96
96
  var SigningProtobufStargateClient = /** @class */ (function (_super) {
97
97
  __extends(SigningProtobufStargateClient, _super);
98
98
  function SigningProtobufStargateClient(cometClient, options, signer, endpoint) {
@@ -315,5 +315,5 @@ var SigningProtobufStargateClient = /** @class */ (function (_super) {
315
315
  });
316
316
  };
317
317
  return SigningProtobufStargateClient;
318
- }(stargateClient_1.StargateClient));
318
+ }(StargateClient_1.StargateClient));
319
319
  exports.SigningProtobufStargateClient = SigningProtobufStargateClient;
@@ -2,7 +2,7 @@ import { EncodeObject, OfflineDirectSigner, Registry, GeneratedType } from "@cos
2
2
  import { CometClient, HttpEndpoint } from "@cosmjs/tendermint-rpc";
3
3
  import { SignDoc, TxRaw, Fee } from "cosmjs-types/cosmos/tx/v1beta1/tx";
4
4
  import { Account } from "./accounts";
5
- import { DeliverTxResponse, StargateClient, StargateClientOptions } from "./stargateClient";
5
+ import { DeliverTxResponse, StargateClient, StargateClientOptions } from "./StargateClient";
6
6
  export declare const defaultRegistryTypes: ReadonlyArray<[string, GeneratedType]>;
7
7
  export interface SignerData {
8
8
  readonly accountNumber: number;
@@ -88,7 +88,7 @@ var tx_1 = require("cosmjs-types/cosmos/tx/v1beta1/tx");
88
88
  var keys_1 = require("cosmjs-types/cosmos/crypto/secp256k1/keys");
89
89
  var axios_1 = __importDefault(require("axios"));
90
90
  var accounts_1 = require("./accounts");
91
- var stargateClient_1 = require("./stargateClient");
91
+ var StargateClient_1 = require("./StargateClient");
92
92
  var any_1 = require("cosmjs-types/google/protobuf/any");
93
93
  var modules_1 = require("@cosmjs/stargate/build/modules");
94
94
  var signing_1 = require("./signing");
@@ -318,5 +318,5 @@ var SigningStargateClient = /** @class */ (function (_super) {
318
318
  };
319
319
  SigningStargateClient._endpoint = "";
320
320
  return SigningStargateClient;
321
- }(stargateClient_1.StargateClient));
321
+ }(StargateClient_1.StargateClient));
322
322
  exports.SigningStargateClient = SigningStargateClient;
@@ -54,17 +54,3 @@ export declare enum VotingOption {
54
54
  VOTE_OPTION_NO_WITH_VETO = 4,
55
55
  UNRECOGNIZED = -1
56
56
  }
57
- export interface ArbitraryVerifyData {
58
- chainId: string;
59
- accountNumber: string;
60
- sequence: string;
61
- bodyBytes: string;
62
- authInfoBytes: string;
63
- signerAddress: string;
64
- pubkey: string;
65
- signature: string;
66
- }
67
- export interface MsgSignArbitraryData {
68
- signer: string;
69
- data: Uint8Array;
70
- }
@@ -1,5 +1,9 @@
1
1
  import { Pubkey } from "@cosmjs/amino";
2
2
  import { Any } from "cosmjs-types/google/protobuf/any";
3
+ /**
4
+ * This file is copied from @cosmjs/stargate.
5
+ * https://github.com/cosmos/cosmjs/blob/v0.34.0/packages/stargate/src/accounts.ts
6
+ */
3
7
  export interface Account {
4
8
  /** Bech32 account address */
5
9
  readonly address: string;
@@ -1,4 +1,8 @@
1
1
  import { tendermint34, tendermint37 } from "@cosmjs/tendermint-rpc";
2
+ /**
3
+ * This file is copied from @cosmjs/stargate.
4
+ * https://github.com/cosmos/cosmjs/blob/v0.34.0/packages/stargate/src/events.ts
5
+ */
2
6
  /**
3
7
  * An event attribute.
4
8
  *
@@ -19,6 +19,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.calculateFee = exports.GasPrice = void 0;
20
20
  var math_1 = require("@cosmjs/math");
21
21
  var proto_signing_1 = require("@cosmjs/proto-signing");
22
+ /**
23
+ * This file is copied from @cosmjs/stargate.
24
+ * https://github.com/cosmos/cosmjs/blob/v0.34.0/packages/stargate/src/fee.ts
25
+ * For future support of next version of cosmos and cosmjs. Not used in this project and firmachain ecosystem for now.
26
+ */
22
27
  /**
23
28
  * Denom checker for the Cosmos SDK 0.42 denom pattern
24
29
  * (https://github.com/cosmos/cosmos-sdk/blob/v0.42.4/types/coin.go#L599-L601).
@@ -216,9 +216,7 @@ describe('[26. cosmwasm query Test]', function () {
216
216
  switch (_b.label) {
217
217
  case 0:
218
218
  queries = [
219
- '{"token_info":{}}',
220
- '{"minter":{}}',
221
- '{"marketing_info":{}}'
219
+ '{"config":{}}',
222
220
  ];
223
221
  successfulQuery = null;
224
222
  result = null;
@@ -71,7 +71,7 @@ describe('[27. protobuf arbitrary sign]', function () {
71
71
  });
72
72
  });
73
73
  it('protobuf arbitrary sign & verify basic test', function () { return __awaiter(void 0, void 0, void 0, function () {
74
- var testMsg, signatureResult, isMatch;
74
+ var testMsg, signatureResult, jsonString, finalData, isMatch;
75
75
  return __generator(this, function (_a) {
76
76
  switch (_a.label) {
77
77
  case 0:
@@ -79,7 +79,9 @@ describe('[27. protobuf arbitrary sign]', function () {
79
79
  return [4 /*yield*/, FirmaUtil_1.FirmaUtil.experimentalAdr36Sign(aliceWallet, testMsg)];
80
80
  case 1:
81
81
  signatureResult = _a.sent();
82
- return [4 /*yield*/, FirmaUtil_1.FirmaUtil.experimentalAdr36Verify(signatureResult, testMsg)];
82
+ jsonString = JSON.stringify(signatureResult);
83
+ finalData = JSON.parse(jsonString);
84
+ return [4 /*yield*/, FirmaUtil_1.FirmaUtil.experimentalAdr36Verify(finalData, testMsg)];
83
85
  case 2:
84
86
  isMatch = _a.sent();
85
87
  (0, chai_1.expect)(isMatch).to.be.equal(true);
@@ -1,11 +1,11 @@
1
1
  import { FirmaConfig } from '../sdk/FirmaConfig';
2
2
  export declare let TestChainConfig: FirmaConfig;
3
- export declare const validatorMnemonic = "stadium lonely midnight okay meat rib awesome wealth phone leisure turn prosper notable label fruit define little also father silver half drill bargain antique";
4
- export declare const aliceMnemonic = "uncle banana theme relax oak prosper volcano glad industry bicycle tower thrive jelly curious luggage frame that defy reason jewel figure begin nice moon";
5
- export declare const bobMnemonic = "innocent enforce visit tilt job kitten actual glory flash feed wonder license rubber outer drum sun fuel relax roof universe enrich pulse fine grid";
6
- export declare const feeMnemonic = "long shallow crumble clown truth book oval render seed canal buffalo assist sadness elbow afraid catalog brother trade food subject must luggage bread neither";
7
- export declare const firmaFeeMnemonic = "arrest dynamic typical lunch original glare truth narrow stairs clip canyon space alley chat drive sudden music bubble time mesh color office minor draft";
8
- export declare const signerMnemonic1 = "couch tonight jelly pond notice spring gold tornado cancel hover hill soft table can buyer already region bean mask cart gasp include change rent";
9
- export declare const signerMnemonic2 = "frozen never essence submit moon night cement omit final guilt border draft caution zoo gorilla illegal notable whisper try name orange hollow maximum arrive";
10
- export declare const signerMnemonic3 = "stock vapor planet van asthma upgrade scheme fuel cushion before brief knee kick lesson gun spatial protect danger they stem stay chunk critic cram";
11
- export declare const signerMnemonic4 = "tomorrow hospital bottom lucky insane play concert casual truly certain antique airport safe envelope relax matter cute zone boring calm pudding eyebrow mouse spawn";
3
+ export declare const validatorMnemonic = "uncle banana theme relax oak prosper volcano glad industry bicycle tower thrive jelly curious luggage frame that defy reason jewel figure begin nice moon";
4
+ export declare const aliceMnemonic = "ozone unfold device pave lemon potato omit insect column wise cover hint narrow large provide kidney episode clay notable milk mention dizzy muffin crazy";
5
+ export declare const bobMnemonic = "burst torch enemy quick crime slogan trust wood hamster way armor visual common language close park leg ill ball board couch nose theory must";
6
+ export declare const feeMnemonic = "";
7
+ export declare const firmaFeeMnemonic = "";
8
+ export declare const signerMnemonic1 = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
9
+ export declare const signerMnemonic2 = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
10
+ export declare const signerMnemonic3 = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
11
+ export declare const signerMnemonic4 = "sand mule spice strike summer invite hybrid inner deputy truly cabin little fence smart erase roast gesture raccoon side love odor decorate action lunar";
@@ -1,10 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.signerMnemonic4 = exports.signerMnemonic3 = exports.signerMnemonic2 = exports.signerMnemonic1 = exports.firmaFeeMnemonic = exports.feeMnemonic = exports.bobMnemonic = exports.aliceMnemonic = exports.validatorMnemonic = exports.TestChainConfig = void 0;
4
- var FirmaConfig_1 = require("../sdk/FirmaConfig");
5
- var config = FirmaConfig_1.FirmaConfig.TestNetConfig;
6
- config.isShowLog = false;
4
+ // TESTNET
7
5
  // export let TestChainConfig: FirmaConfig = FirmaConfig.TestNetConfig;
6
+ // Validator 1
7
+ // export const validatorMnemonic = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
8
+ // Validator 2
9
+ // export const validatorMnemonic = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
10
+ // validator 3
11
+ // export const validatorMnemonic = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
12
+ // export const aliceMnemonic = "harvest galaxy sniff include record undo width oven tired sad month text museum curious firm mountain flash assault oval sand ribbon blouse consider lens";
13
+ // export const bobMnemonic = "certain bean eager measure crawl cliff innocent practice gas ladder board aspect fish link sweet raccoon staff long crumble skin special width click plastic";
14
+ // export const feeMnemonic = "";
15
+ // export const firmaFeeMnemonic = "";
16
+ // export const signerMnemonic1 = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
17
+ // export const signerMnemonic2 = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
18
+ // export const signerMnemonic3 = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
19
+ // export const signerMnemonic4 = "sand mule spice strike summer invite hybrid inner deputy truly cabin little fence smart erase roast gesture raccoon side love odor decorate action lunar";
20
+ // DEVNET
8
21
  exports.TestChainConfig = {
9
22
  chainID: "roma-1",
10
23
  rpcAddress: "http://192.168.30.47:26657",
@@ -17,44 +30,15 @@ exports.TestChainConfig = {
17
30
  denom: "ufct",
18
31
  defaultFee: 20000,
19
32
  defaultGas: 200000,
20
- isShowLog: false,
33
+ isShowLog: true,
21
34
  };
22
- // DEVNET
23
- // export const validatorMnemonic = "rebel engine situate catalog blood strong satisfy aerobic cupboard again vivid twice flag work taxi heart fruit island ribbon hungry cheap ordinary horse foam";
24
- // VALIDATOR 2
25
- exports.validatorMnemonic = "stadium lonely midnight okay meat rib awesome wealth phone leisure turn prosper notable label fruit define little also father silver half drill bargain antique";
26
- exports.aliceMnemonic = "uncle banana theme relax oak prosper volcano glad industry bicycle tower thrive jelly curious luggage frame that defy reason jewel figure begin nice moon";
27
- exports.bobMnemonic = "innocent enforce visit tilt job kitten actual glory flash feed wonder license rubber outer drum sun fuel relax roof universe enrich pulse fine grid";
28
- // TESTNET
29
- // export const validatorMnemonic = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
30
- // export const validatorMnemonic = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
31
- // export const aliceMnemonic = "harvest galaxy sniff include record undo width oven tired sad month text museum curious firm mountain flash assault oval sand ribbon blouse consider lens";
32
- // export const bobMnemonic = "certain bean eager measure crawl cliff innocent practice gas ladder board aspect fish link sweet raccoon staff long crumble skin special width click plastic";
33
- // testnet인데 임시로 바꿈
34
- // export const bobMnemonic = "harvest galaxy sniff include record undo width oven tired sad month text museum curious firm mountain flash assault oval sand ribbon blouse consider lens";
35
- // export const aliceMnemonic = "certain bean eager measure crawl cliff innocent practice gas ladder board aspect fish link sweet raccoon staff long crumble skin special width click plastic";
36
- // DEVNET validator 4
37
- // export const validatorMnemonic = "ladder damage art company shield glance cushion float need layer rare toast intact grief wet point write season correct access mix bomb accident estate";
38
- // DEVNET validator 3
39
- // export const validatorMnemonic = "rebel engine situate catalog blood strong satisfy aerobic cupboard again vivid twice flag work taxi heart fruit island ribbon hungry cheap ordinary horse foam";
40
- // DEVNET
41
- // export const aliceMnemonic = "immune flavor record sphere foam planet faint grid disorder flag minute eternal beef sea camp surge extra scorpion pistol plastic happy siren juice found";
42
- // TESTNET
43
- // export const aliceMnemonic = "harvest galaxy sniff include record undo width oven tired sad month text museum curious firm mountain flash assault oval sand ribbon blouse consider lens";
44
- // VALIDATOR
45
- // export const aliceMnemonic = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
46
- // export const aliceMnemonic = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
47
- // export const aliceMnemonic = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
48
- // export const aliceMnemonic = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
49
- // export const aliceMnemonic = "angry water bunker where iron absurd cruise deliver clutch unique creek pyramid arch express flush pill lens concert absent enemy boring mom nuclear rose";
50
- // export const aliceMnemonic = "stadium lonely midnight okay meat rib awesome wealth phone leisure turn prosper notable label fruit define little also father silver half drill bargain antique";
51
- // export const aliceMnemonic = "uncle banana theme relax oak prosper volcano glad industry bicycle tower thrive jelly curious luggage frame that defy reason jewel figure begin nice moon";
52
- // export const aliceMnemonic = "rebel engine situate catalog blood strong satisfy aerobic cupboard again vivid twice flag work taxi heart fruit island ribbon hungry cheap ordinary horse foam";
53
- // export const aliceMnemonic = "ladder damage art company shield glance cushion float need layer rare toast intact grief wet point write season correct access mix bomb accident estate";
54
- exports.feeMnemonic = "long shallow crumble clown truth book oval render seed canal buffalo assist sadness elbow afraid catalog brother trade food subject must luggage bread neither";
55
- exports.firmaFeeMnemonic = "arrest dynamic typical lunch original glare truth narrow stairs clip canyon space alley chat drive sudden music bubble time mesh color office minor draft";
56
- // export const firmaFeeMnemonic = "child material talent property foot sign talent congress cargo pistol suspect screen leader owner type style patch amused stable flame sure fluid april acoustic";
57
- exports.signerMnemonic1 = "couch tonight jelly pond notice spring gold tornado cancel hover hill soft table can buyer already region bean mask cart gasp include change rent";
58
- exports.signerMnemonic2 = "frozen never essence submit moon night cement omit final guilt border draft caution zoo gorilla illegal notable whisper try name orange hollow maximum arrive";
59
- exports.signerMnemonic3 = "stock vapor planet van asthma upgrade scheme fuel cushion before brief knee kick lesson gun spatial protect danger they stem stay chunk critic cram";
60
- exports.signerMnemonic4 = "tomorrow hospital bottom lucky insane play concert casual truly certain antique airport safe envelope relax matter cute zone boring calm pudding eyebrow mouse spawn";
35
+ // Validator
36
+ exports.validatorMnemonic = "uncle banana theme relax oak prosper volcano glad industry bicycle tower thrive jelly curious luggage frame that defy reason jewel figure begin nice moon";
37
+ exports.aliceMnemonic = "ozone unfold device pave lemon potato omit insect column wise cover hint narrow large provide kidney episode clay notable milk mention dizzy muffin crazy";
38
+ exports.bobMnemonic = "burst torch enemy quick crime slogan trust wood hamster way armor visual common language close park leg ill ball board couch nose theory must";
39
+ exports.feeMnemonic = "";
40
+ exports.firmaFeeMnemonic = "";
41
+ exports.signerMnemonic1 = "owner pottery smile evolve pig base lady dismiss badge purchase divide royal medal buffalo miss carbon kiwi gate draft mouse yard reunion thank wage";
42
+ exports.signerMnemonic2 = "clump erupt type lucky mask pig soup runway wrestle suspect element involve stamp civil auction resource blame same journey start unaware crush ten draw";
43
+ exports.signerMnemonic3 = "main shallow liberty desk super palm remind throw track legal warrior client garbage type insect first token keen subway pony curtain pitch yellow arrive";
44
+ exports.signerMnemonic4 = "sand mule spice strike summer invite hybrid inner deputy truly cabin little fence smart erase roast gesture raccoon side love odor decorate action lunar";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firmachain/firma-js",
3
- "version": "0.3.6-beta1",
3
+ "version": "0.3.6",
4
4
  "description": "The Official FirmaChain Javascript SDK written in Typescript",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",