@atomiqlabs/chain-evm 1.0.0-dev.28 → 1.0.0-dev.29
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.
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.EVMAddresses = void 0;
|
|
4
4
|
const EVMModule_1 = require("../EVMModule");
|
|
5
5
|
const ethers_1 = require("ethers");
|
|
6
|
-
const lib_esm_1 = require("ethers/lib.esm");
|
|
7
6
|
class EVMAddresses extends EVMModule_1.EVMModule {
|
|
8
7
|
///////////////////
|
|
9
8
|
//// Address utils
|
|
@@ -24,7 +23,7 @@ class EVMAddresses extends EVMModule_1.EVMModule {
|
|
|
24
23
|
}
|
|
25
24
|
}
|
|
26
25
|
static randomAddress() {
|
|
27
|
-
const wallet =
|
|
26
|
+
const wallet = ethers_1.Wallet.createRandom();
|
|
28
27
|
return wallet.address;
|
|
29
28
|
}
|
|
30
29
|
}
|
package/package.json
CHANGED