Skip to content

Commit 2f1d9fd

Browse files
committed
Updated minor changes
1 parent 25fa6e4 commit 2f1d9fd

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/chains/Ethereum/functions/deployEthereum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nftToolbox.initEthereumContract({
88
dir: path.join(__dirname, "Contracts"),
99
standard: "ERC721",
1010
connection: JSON.parse(
11-
readFileSync(path.join(__dirname, "connection.json")).toString()
11+
readFileSync(path.join(__dirname, "..", "..", "..", "connection.json")).toString()
1212
),
1313
});
1414

src/chains/Ethereum/functions/draftEthereum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nftToolbox.initEthereumContract({
88
dir: path.join(__dirname, "Contracts"),
99
standard: "ERC721",
1010
connection: JSON.parse(
11-
readFileSync(path.join(__dirname, "connection.json")).toString()
11+
readFileSync(path.join(__dirname, "..", "..", "..", "connection.json")).toString()
1212
),
1313
});
1414

src/chains/Ethereum/functions/mintEthereum.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ nftToolbox.initEthereumContract({
88
dir: path.join(__dirname, "Contracts"),
99
standard: "ERC721",
1010
connection: JSON.parse(
11-
fs.readFileSync(path.join(__dirname, "connection.json")).toString()
11+
fs.readFileSync(path.join(__dirname, "..", "..", "..", "connection.json")).toString()
1212
),
1313
deployed: {
1414
address: "0x5009278830fB58551bD518157cBb0002eB5DC80E",
15-
abi: fs.readFileSync(path.join(__dirname, "abi.json")).toString(),
15+
abi: fs.readFileSync(path.join(__dirname, "..", "..", "..", "abi.json")).toString(),
1616
},
1717
});
1818

0 commit comments

Comments
 (0)