@ledgerhq/coin-tester-evm 1.10.0-nightly.20251105073255 → 1.10.0
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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +48 -11
- package/lib/src/scenarii/core.d.ts.map +1 -1
- package/lib/src/scenarii/core.js +12 -2
- package/lib/src/scenarii/core.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib-es/src/scenarii/core.d.ts.map +1 -1
- package/lib-es/src/scenarii/core.js +10 -3
- package/lib-es/src/scenarii/core.js.map +1 -1
- package/lib-es/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -10
- package/src/scenarii/core.ts +12 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @ledgerhq/coin-tester-evm@1.
|
|
2
|
+
> @ledgerhq/coin-tester-evm@1.10.0 build /home/runner/work/ledger-live/ledger-live/libs/coin-tester-modules/coin-tester-evm
|
|
3
3
|
> tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
|
|
4
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,61 @@
|
|
|
1
1
|
# @ledgerhq/coin-tester-evm
|
|
2
2
|
|
|
3
|
-
## 1.10.0
|
|
3
|
+
## 1.10.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- [#12431](https://github.com/LedgerHQ/ledger-live/pull/12431) [`4095b90`](https://github.com/LedgerHQ/ledger-live/commit/4095b9024527c16454eff9d5c44ed825375296ea) Thanks [@gre-ledger](https://github.com/gre-ledger)! - dedup ethers library
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`a4bf9fb`](https://github.com/LedgerHQ/ledger-live/commit/a4bf9fbd766023028cb059ff033a21dbdc862115), [`49b5b77`](https://github.com/LedgerHQ/ledger-live/commit/49b5b7765718b13283d324bb77ad6f7403dd96ed), [`d576a0c`](https://github.com/LedgerHQ/ledger-live/commit/d576a0c5354fd3aaf2900432c0c847b7c205ae63), [`08ff5f2`](https://github.com/LedgerHQ/ledger-live/commit/08ff5f2ea791b3ffaeb715d40b7ade782e195a65), [`b4ceaff`](https://github.com/LedgerHQ/ledger-live/commit/b4ceaff2ecf68d8a14e09801c76ab0b014c45286), [`5b8a62e`](https://github.com/LedgerHQ/ledger-live/commit/5b8a62e244a13a384ae3e1c76bb5a5947eac614f), [`56ba896`](https://github.com/LedgerHQ/ledger-live/commit/56ba8964e2c4c35791073a9370944658387515bb), [`965692a`](https://github.com/LedgerHQ/ledger-live/commit/965692a3c88e114616e3f9c0e76ab2bfbb57a85f), [`919967c`](https://github.com/LedgerHQ/ledger-live/commit/919967c78195b7cd0ea43183c019b0b73e8d9a1f), [`da750a1`](https://github.com/LedgerHQ/ledger-live/commit/da750a16ee5f2c083114569b8ae3c708cceba06c), [`63e8f34`](https://github.com/LedgerHQ/ledger-live/commit/63e8f342f6b951ab77bb710b9971f033c05e579e), [`ccf788d`](https://github.com/LedgerHQ/ledger-live/commit/ccf788d7c0239ca95e76c3cc340f9a6bd09ea726), [`34b28dd`](https://github.com/LedgerHQ/ledger-live/commit/34b28dd5e819906daaa79db5fe6064674def5e7d), [`11eeb30`](https://github.com/LedgerHQ/ledger-live/commit/11eeb30e4279cdd6cf73d11b1a637804bf2dbb49), [`8d7c1f7`](https://github.com/LedgerHQ/ledger-live/commit/8d7c1f7a92489647399b0e780d4bb926508e8554), [`19da1c2`](https://github.com/LedgerHQ/ledger-live/commit/19da1c2756211d76373ab59cb6302bd8e7f1d4f8), [`ec733ba`](https://github.com/LedgerHQ/ledger-live/commit/ec733bab33c12b12d306f0704475685b80070905), [`8b39aa7`](https://github.com/LedgerHQ/ledger-live/commit/8b39aa7ca9e58ed3b028b133495fd729a1843332), [`b10973c`](https://github.com/LedgerHQ/ledger-live/commit/b10973cdbcaf810f5dcde2ef7a9737437d79ee26), [`85b0d42`](https://github.com/LedgerHQ/ledger-live/commit/85b0d421cec63eab83a0e15fae0228cb96e95fed), [`607e4be`](https://github.com/LedgerHQ/ledger-live/commit/607e4be33145c102debce1606224b08579888aa8), [`0b57e76`](https://github.com/LedgerHQ/ledger-live/commit/0b57e7631fadf0e1ecd08d0c6302bf0ac728173b), [`958aaa4`](https://github.com/LedgerHQ/ledger-live/commit/958aaa480d9d42d71bf4dc46b2e5710ad9848152), [`6d86fd9`](https://github.com/LedgerHQ/ledger-live/commit/6d86fd922576160235343776846dd03eabddbd72), [`c96d73f`](https://github.com/LedgerHQ/ledger-live/commit/c96d73fed0a75a9c208f78d51c34b742703a7dda), [`7744980`](https://github.com/LedgerHQ/ledger-live/commit/774498090411f1a6d6c06395dda1fc7cd24adf24), [`ae0f8e4`](https://github.com/LedgerHQ/ledger-live/commit/ae0f8e4fb7fed90b7b110769b4bef54642fc24cf), [`9ab92be`](https://github.com/LedgerHQ/ledger-live/commit/9ab92be96e675b5223c2977958521fbd6d170fe7), [`3dfd7ff`](https://github.com/LedgerHQ/ledger-live/commit/3dfd7ff812cdc9c16af980d9729960f37397c37d), [`19e59ef`](https://github.com/LedgerHQ/ledger-live/commit/19e59ef4496ae4271031692e536408727b42f570), [`4095b90`](https://github.com/LedgerHQ/ledger-live/commit/4095b9024527c16454eff9d5c44ed825375296ea), [`77566c5`](https://github.com/LedgerHQ/ledger-live/commit/77566c5a3b5795f5938bd5daaa5f8d65934c56b8), [`a511849`](https://github.com/LedgerHQ/ledger-live/commit/a511849d299daaea57c3decb95d842cb7fa68673), [`6baa302`](https://github.com/LedgerHQ/ledger-live/commit/6baa302930df15d535c0f683897bf87bcf41df82), [`2e6d6a7`](https://github.com/LedgerHQ/ledger-live/commit/2e6d6a7d65edd18f90b8e6499128157ef9ea37a6), [`8a4658b`](https://github.com/LedgerHQ/ledger-live/commit/8a4658b2140ad4d91de7a1ae79a53f5b9e9b076d), [`f8d904d`](https://github.com/LedgerHQ/ledger-live/commit/f8d904de5607c103549f247428b5a4079f28c1c0), [`eb176c2`](https://github.com/LedgerHQ/ledger-live/commit/eb176c201d711f1d28f74de831c4a6cd0c2d4a50), [`b386019`](https://github.com/LedgerHQ/ledger-live/commit/b3860190aedc7691250e0abacf07ee7dd2962c91), [`2527f6b`](https://github.com/LedgerHQ/ledger-live/commit/2527f6b4d7147aab4809f26993e78b194f0044c6), [`a731c4c`](https://github.com/LedgerHQ/ledger-live/commit/a731c4cd492a968eb7baa981fdd8aaddedd21f25), [`b962966`](https://github.com/LedgerHQ/ledger-live/commit/b962966525517c5cfa7f1f8826f8f2b9162189e4), [`70a3dcb`](https://github.com/LedgerHQ/ledger-live/commit/70a3dcb535db2a44aa2b609567dc4c9d359ad710), [`f392f69`](https://github.com/LedgerHQ/ledger-live/commit/f392f6912f445cc2f7cf4dfcfd030fa3da76f736), [`cadf2e1`](https://github.com/LedgerHQ/ledger-live/commit/cadf2e1dfb09248d3f77d96f94ae774425dbca75), [`36e5168`](https://github.com/LedgerHQ/ledger-live/commit/36e5168397eaec2a5f425038392a4400f60571d0), [`94719b8`](https://github.com/LedgerHQ/ledger-live/commit/94719b88092b7ebb1c24f7bf983e2476c1428153), [`6ccabef`](https://github.com/LedgerHQ/ledger-live/commit/6ccabef8f3c4e8cc042299d531684595ebadcc55), [`3d4188a`](https://github.com/LedgerHQ/ledger-live/commit/3d4188a26021d33b950129d82cb55d2c2e8d4358), [`d9305e8`](https://github.com/LedgerHQ/ledger-live/commit/d9305e8a4d8364366aaba05dd698396d28b539dc), [`2c6a198`](https://github.com/LedgerHQ/ledger-live/commit/2c6a198ba28391695202a0787ce168c53768ff37)]:
|
|
12
|
+
- @ledgerhq/live-common@34.52.0
|
|
13
|
+
- @ledgerhq/cryptoassets@13.32.0
|
|
14
|
+
- @ledgerhq/coin-evm@2.34.0
|
|
15
|
+
- @ledgerhq/types-cryptoassets@7.30.0
|
|
16
|
+
- @ledgerhq/coin-framework@6.8.0
|
|
17
|
+
- @ledgerhq/coin-tester@0.11.0
|
|
18
|
+
- @ledgerhq/types-live@6.88.0
|
|
19
|
+
- @ledgerhq/live-signer-evm@0.10.0
|
|
20
|
+
|
|
21
|
+
## 1.10.0-next.3
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies []:
|
|
26
|
+
- @ledgerhq/live-common@34.52.0-next.3
|
|
27
|
+
|
|
28
|
+
## 1.10.0-next.2
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies []:
|
|
33
|
+
- @ledgerhq/live-common@34.52.0-next.2
|
|
34
|
+
|
|
35
|
+
## 1.10.0-next.1
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [[`5b8a62e`](https://github.com/LedgerHQ/ledger-live/commit/5b8a62e244a13a384ae3e1c76bb5a5947eac614f)]:
|
|
40
|
+
- @ledgerhq/live-common@34.52.0-next.1
|
|
41
|
+
|
|
42
|
+
## 1.10.0-next.0
|
|
43
|
+
|
|
44
|
+
### Minor Changes
|
|
8
45
|
|
|
9
46
|
- [#12431](https://github.com/LedgerHQ/ledger-live/pull/12431) [`4095b90`](https://github.com/LedgerHQ/ledger-live/commit/4095b9024527c16454eff9d5c44ed825375296ea) Thanks [@gre-ledger](https://github.com/gre-ledger)! - dedup ethers library
|
|
10
47
|
|
|
11
48
|
### Patch Changes
|
|
12
49
|
|
|
13
|
-
- Updated dependencies [[`a4bf9fb`](https://github.com/LedgerHQ/ledger-live/commit/a4bf9fbd766023028cb059ff033a21dbdc862115), [`49b5b77`](https://github.com/LedgerHQ/ledger-live/commit/49b5b7765718b13283d324bb77ad6f7403dd96ed), [`d576a0c`](https://github.com/LedgerHQ/ledger-live/commit/d576a0c5354fd3aaf2900432c0c847b7c205ae63), [`08ff5f2`](https://github.com/LedgerHQ/ledger-live/commit/08ff5f2ea791b3ffaeb715d40b7ade782e195a65), [`b4ceaff`](https://github.com/LedgerHQ/ledger-live/commit/b4ceaff2ecf68d8a14e09801c76ab0b014c45286), [`
|
|
14
|
-
- @ledgerhq/live-common@34.52.0-
|
|
15
|
-
- @ledgerhq/cryptoassets@13.32.0-
|
|
16
|
-
- @ledgerhq/coin-evm@2.34.0-
|
|
17
|
-
- @ledgerhq/types-cryptoassets@7.30.0-
|
|
18
|
-
- @ledgerhq/
|
|
19
|
-
- @ledgerhq/coin-
|
|
20
|
-
- @ledgerhq/
|
|
21
|
-
- @ledgerhq/live-signer-evm@0.10.0-
|
|
50
|
+
- Updated dependencies [[`a4bf9fb`](https://github.com/LedgerHQ/ledger-live/commit/a4bf9fbd766023028cb059ff033a21dbdc862115), [`49b5b77`](https://github.com/LedgerHQ/ledger-live/commit/49b5b7765718b13283d324bb77ad6f7403dd96ed), [`d576a0c`](https://github.com/LedgerHQ/ledger-live/commit/d576a0c5354fd3aaf2900432c0c847b7c205ae63), [`08ff5f2`](https://github.com/LedgerHQ/ledger-live/commit/08ff5f2ea791b3ffaeb715d40b7ade782e195a65), [`b4ceaff`](https://github.com/LedgerHQ/ledger-live/commit/b4ceaff2ecf68d8a14e09801c76ab0b014c45286), [`56ba896`](https://github.com/LedgerHQ/ledger-live/commit/56ba8964e2c4c35791073a9370944658387515bb), [`965692a`](https://github.com/LedgerHQ/ledger-live/commit/965692a3c88e114616e3f9c0e76ab2bfbb57a85f), [`919967c`](https://github.com/LedgerHQ/ledger-live/commit/919967c78195b7cd0ea43183c019b0b73e8d9a1f), [`da750a1`](https://github.com/LedgerHQ/ledger-live/commit/da750a16ee5f2c083114569b8ae3c708cceba06c), [`63e8f34`](https://github.com/LedgerHQ/ledger-live/commit/63e8f342f6b951ab77bb710b9971f033c05e579e), [`ccf788d`](https://github.com/LedgerHQ/ledger-live/commit/ccf788d7c0239ca95e76c3cc340f9a6bd09ea726), [`34b28dd`](https://github.com/LedgerHQ/ledger-live/commit/34b28dd5e819906daaa79db5fe6064674def5e7d), [`11eeb30`](https://github.com/LedgerHQ/ledger-live/commit/11eeb30e4279cdd6cf73d11b1a637804bf2dbb49), [`8d7c1f7`](https://github.com/LedgerHQ/ledger-live/commit/8d7c1f7a92489647399b0e780d4bb926508e8554), [`19da1c2`](https://github.com/LedgerHQ/ledger-live/commit/19da1c2756211d76373ab59cb6302bd8e7f1d4f8), [`ec733ba`](https://github.com/LedgerHQ/ledger-live/commit/ec733bab33c12b12d306f0704475685b80070905), [`8b39aa7`](https://github.com/LedgerHQ/ledger-live/commit/8b39aa7ca9e58ed3b028b133495fd729a1843332), [`b10973c`](https://github.com/LedgerHQ/ledger-live/commit/b10973cdbcaf810f5dcde2ef7a9737437d79ee26), [`85b0d42`](https://github.com/LedgerHQ/ledger-live/commit/85b0d421cec63eab83a0e15fae0228cb96e95fed), [`607e4be`](https://github.com/LedgerHQ/ledger-live/commit/607e4be33145c102debce1606224b08579888aa8), [`0b57e76`](https://github.com/LedgerHQ/ledger-live/commit/0b57e7631fadf0e1ecd08d0c6302bf0ac728173b), [`958aaa4`](https://github.com/LedgerHQ/ledger-live/commit/958aaa480d9d42d71bf4dc46b2e5710ad9848152), [`6d86fd9`](https://github.com/LedgerHQ/ledger-live/commit/6d86fd922576160235343776846dd03eabddbd72), [`c96d73f`](https://github.com/LedgerHQ/ledger-live/commit/c96d73fed0a75a9c208f78d51c34b742703a7dda), [`7744980`](https://github.com/LedgerHQ/ledger-live/commit/774498090411f1a6d6c06395dda1fc7cd24adf24), [`ae0f8e4`](https://github.com/LedgerHQ/ledger-live/commit/ae0f8e4fb7fed90b7b110769b4bef54642fc24cf), [`9ab92be`](https://github.com/LedgerHQ/ledger-live/commit/9ab92be96e675b5223c2977958521fbd6d170fe7), [`3dfd7ff`](https://github.com/LedgerHQ/ledger-live/commit/3dfd7ff812cdc9c16af980d9729960f37397c37d), [`19e59ef`](https://github.com/LedgerHQ/ledger-live/commit/19e59ef4496ae4271031692e536408727b42f570), [`4095b90`](https://github.com/LedgerHQ/ledger-live/commit/4095b9024527c16454eff9d5c44ed825375296ea), [`77566c5`](https://github.com/LedgerHQ/ledger-live/commit/77566c5a3b5795f5938bd5daaa5f8d65934c56b8), [`a511849`](https://github.com/LedgerHQ/ledger-live/commit/a511849d299daaea57c3decb95d842cb7fa68673), [`6baa302`](https://github.com/LedgerHQ/ledger-live/commit/6baa302930df15d535c0f683897bf87bcf41df82), [`2e6d6a7`](https://github.com/LedgerHQ/ledger-live/commit/2e6d6a7d65edd18f90b8e6499128157ef9ea37a6), [`8a4658b`](https://github.com/LedgerHQ/ledger-live/commit/8a4658b2140ad4d91de7a1ae79a53f5b9e9b076d), [`f8d904d`](https://github.com/LedgerHQ/ledger-live/commit/f8d904de5607c103549f247428b5a4079f28c1c0), [`eb176c2`](https://github.com/LedgerHQ/ledger-live/commit/eb176c201d711f1d28f74de831c4a6cd0c2d4a50), [`b386019`](https://github.com/LedgerHQ/ledger-live/commit/b3860190aedc7691250e0abacf07ee7dd2962c91), [`2527f6b`](https://github.com/LedgerHQ/ledger-live/commit/2527f6b4d7147aab4809f26993e78b194f0044c6), [`a731c4c`](https://github.com/LedgerHQ/ledger-live/commit/a731c4cd492a968eb7baa981fdd8aaddedd21f25), [`b962966`](https://github.com/LedgerHQ/ledger-live/commit/b962966525517c5cfa7f1f8826f8f2b9162189e4), [`70a3dcb`](https://github.com/LedgerHQ/ledger-live/commit/70a3dcb535db2a44aa2b609567dc4c9d359ad710), [`f392f69`](https://github.com/LedgerHQ/ledger-live/commit/f392f6912f445cc2f7cf4dfcfd030fa3da76f736), [`cadf2e1`](https://github.com/LedgerHQ/ledger-live/commit/cadf2e1dfb09248d3f77d96f94ae774425dbca75), [`36e5168`](https://github.com/LedgerHQ/ledger-live/commit/36e5168397eaec2a5f425038392a4400f60571d0), [`94719b8`](https://github.com/LedgerHQ/ledger-live/commit/94719b88092b7ebb1c24f7bf983e2476c1428153), [`6ccabef`](https://github.com/LedgerHQ/ledger-live/commit/6ccabef8f3c4e8cc042299d531684595ebadcc55), [`3d4188a`](https://github.com/LedgerHQ/ledger-live/commit/3d4188a26021d33b950129d82cb55d2c2e8d4358), [`d9305e8`](https://github.com/LedgerHQ/ledger-live/commit/d9305e8a4d8364366aaba05dd698396d28b539dc), [`2c6a198`](https://github.com/LedgerHQ/ledger-live/commit/2c6a198ba28391695202a0787ce168c53768ff37)]:
|
|
51
|
+
- @ledgerhq/live-common@34.52.0-next.0
|
|
52
|
+
- @ledgerhq/cryptoassets@13.32.0-next.0
|
|
53
|
+
- @ledgerhq/coin-evm@2.34.0-next.0
|
|
54
|
+
- @ledgerhq/types-cryptoassets@7.30.0-next.0
|
|
55
|
+
- @ledgerhq/coin-framework@6.8.0-next.0
|
|
56
|
+
- @ledgerhq/coin-tester@0.11.0-next.0
|
|
57
|
+
- @ledgerhq/types-live@6.88.0-next.0
|
|
58
|
+
- @ledgerhq/live-signer-evm@0.10.0-next.0
|
|
22
59
|
|
|
23
60
|
## 1.9.0
|
|
24
61
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/scenarii/core.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/scenarii/core.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAGrF,OAAO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B,CAAC;AAK3E,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAwD/C,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,cAAc,EAAE,OAAO,CAsG1D,CAAC"}
|
package/lib/src/scenarii/core.js
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.scenarioCore = void 0;
|
|
4
7
|
const fixtures_1 = require("../fixtures");
|
|
8
|
+
const js_1 = require("@ledgerhq/coin-evm/bridge/js");
|
|
5
9
|
const config_1 = require("@ledgerhq/coin-evm/config");
|
|
10
|
+
const hw_getAddress_1 = __importDefault(require("@ledgerhq/coin-evm/hw-getAddress"));
|
|
6
11
|
const index_1 = require("@ledgerhq/coin-framework/account/index");
|
|
7
12
|
const speculos_1 = require("@ledgerhq/coin-tester/signers/speculos");
|
|
8
13
|
const tokens_1 = require("@ledgerhq/cryptoassets/tokens");
|
|
9
14
|
const LiveConfig_1 = require("@ledgerhq/live-config/LiveConfig");
|
|
15
|
+
const live_signer_evm_1 = require("@ledgerhq/live-signer-evm");
|
|
10
16
|
const bignumber_js_1 = require("bignumber.js");
|
|
11
17
|
const ethers_1 = require("ethers");
|
|
12
18
|
const anvil_1 = require("../anvil");
|
|
@@ -50,12 +56,13 @@ const makeScenarioTransactions = ({ address }) => {
|
|
|
50
56
|
};
|
|
51
57
|
exports.scenarioCore = {
|
|
52
58
|
name: "Ledger Live Basic CORE Transactions",
|
|
53
|
-
setup: async (
|
|
59
|
+
setup: async () => {
|
|
54
60
|
const [{ transport, getOnSpeculosConfirmation }] = await Promise.all([
|
|
55
61
|
(0, speculos_1.spawnSpeculos)(`/${constants_1.defaultNanoApp.firmware}/Ethereum/app_${constants_1.defaultNanoApp.version}.elf`),
|
|
56
62
|
(0, anvil_1.spawnAnvil)("https://rpc.ankr.com/core"),
|
|
57
63
|
]);
|
|
58
64
|
const provider = new ethers_1.ethers.JsonRpcProvider("http://127.0.0.1:8545");
|
|
65
|
+
const signerContext = (_, fn) => fn(new live_signer_evm_1.LegacySignerEth(transport));
|
|
59
66
|
(0, config_1.setCoinConfig)(() => ({
|
|
60
67
|
info: {
|
|
61
68
|
status: {
|
|
@@ -91,7 +98,10 @@ exports.scenarioCore = {
|
|
|
91
98
|
});
|
|
92
99
|
(0, indexer_1.initMswHandlers)((0, config_1.getCoinConfig)(helpers_1.core).info);
|
|
93
100
|
const onSignerConfirmation = getOnSpeculosConfirmation();
|
|
94
|
-
const
|
|
101
|
+
const currencyBridge = (0, js_1.buildCurrencyBridge)(signerContext);
|
|
102
|
+
await currencyBridge.preload(helpers_1.core);
|
|
103
|
+
const accountBridge = (0, js_1.buildAccountBridge)(signerContext);
|
|
104
|
+
const getAddress = (0, hw_getAddress_1.default)(signerContext);
|
|
95
105
|
const { address } = await getAddress("", {
|
|
96
106
|
path: "44'/60'/0'/0/0",
|
|
97
107
|
currency: helpers_1.core,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../../src/scenarii/core.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../../src/scenarii/core.ts"],"names":[],"mappings":";;;;;;AAAA,0CAA0C;AAC1C,qDAAuF;AACvF,sDAAyE;AACzE,qFAAwD;AAGxD,kEAA8E;AAG9E,qEAAqF;AACrF,0DAA8D;AAC9D,iEAA8D;AAC9D,+DAA4D;AAE5D,+CAAyC;AACzC,mCAAgC;AAChC,oCAAiD;AACjD,wCAA2C;AAC3C,wCAAkF;AAClF,4CAA8C;AAI9C,MAAM,YAAY,GAAG,IAAA,sBAAa,EAChC,0EAA0E,CAC3E,CAAC;AACF,IAAI,CAAC,YAAY;IAAE,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;AACrE,MAAM,cAAc,GAAG,YAAY,CAAC;AAEpC,MAAM,wBAAwB,GAAG,CAAC,EAAE,OAAO,EAAuB,EAA6B,EAAE;IAC/F,MAAM,wBAAwB,GAA4B;QACxD,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,IAAI,wBAAS,CAAC,IAAI,CAAC;QAC3B,SAAS,EAAE,iBAAO;QAClB,MAAM,EAAE,CAAC,eAAe,EAAE,cAAc,EAAE,EAAE;YAC1C,MAAM,CAA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