File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- // ? Should this become a `*.ts` file?
2
- // eslint-disable-next-line @typescript-eslint/no-var-requires
3
- const ethers = require ( "ethers" )
1
+ const createWallet = `const ethers = require("ethers")
4
2
5
3
// Create a wallet instance from a mnemonic...
6
4
const mnemonic =
@@ -51,3 +49,6 @@ wallet.sendTransaction(tx)
51
49
// https://github.com/ethers-io/ethers.js/blob/master/docs/v5/api/signer/README.md#methods
52
50
// Content is licensed under the Creative Commons License:
53
51
// https://choosealicense.com/licenses/cc-by-4.0/
52
+ `
53
+
54
+ export default createWallet
Original file line number Diff line number Diff line change @@ -45,9 +45,10 @@ import {
45
45
isLangRightToLeft ,
46
46
} from "@/lib/utils/translations"
47
47
48
+ import CreateWalletContent from "@/data/CreateWallet"
49
+
48
50
import { BASE_TIME_UNIT } from "@/lib/constants"
49
51
50
- import CreateWalletContent from "!!raw-loader!@/data/CreateWallet.js"
51
52
import SimpleDomainRegistryContent from "!!raw-loader!@/data/SimpleDomainRegistry.sol"
52
53
import SimpleTokenContent from "!!raw-loader!@/data/SimpleToken.sol"
53
54
import SimpleWalletContent from "!!raw-loader!@/data/SimpleWallet.sol"
You can’t perform that action at this time.
0 commit comments