Skip to content

Commit

Permalink
dom
Browse files Browse the repository at this point in the history
  • Loading branch information
yauquenlay committed Jul 5, 2021
1 parent b12482e commit a402fcd
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NODE_ENV = 'development'
INFURA_API_KEY = '95641802991b4c63a4796ee0031029e4'
PRIVATE_KEY = 'sssssssssssssssssssss'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
cache
artifacts
*.bat
*.env
3 changes: 3 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-waffle'
import '@nomiclabs/hardhat-etherscan'

console.log(process.env)

export default {

networks: {
hardhat: {
allowUnlimitedContractSize: false,
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@typechain/ethers-v5": "^4.0.0",
"@types/chai": "^4.2.6",
"@types/mocha": "^5.2.7",
"@types/node": "^15.0.2",
"@types/node": "^15.14.1",
"chai": "^4.2.0",
"decimal.js": "^10.2.1",
"ethereum-waffle": "^3.0.2",
Expand All @@ -48,5 +48,8 @@
"scripts": {
"compile": "hardhat compile",
"test": "hardhat test"
},
"dependencies": {
"dotenv": "^10.0.0"
}
}
4 changes: 3 additions & 1 deletion scripts/deploy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
async function main() {


console.log(process.env);
const [deployer] = await ethers.getSigners();

console.log(
Expand All @@ -9,7 +11,7 @@ async function main() {

console.log("Account balance:", (await deployer.getBalance()).toString());

const Token = await ethers.getContractFactory("Toad");
const Token = await ethers.getContractFactory("Dom");
const token = await Token.deploy();

console.log("Token address:", token.address);
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"esModuleInterop": true,
"outDir": "dist",
"typeRoots": ["./typechain", "./node_modules/@types"],
"types": ["@nomiclabs/hardhat-ethers", "@nomiclabs/hardhat-waffle"]
"types": ["@nomiclabs/hardhat-ethers", "@nomiclabs/hardhat-waffle","node"]
},
"include": ["./test"],
"files": ["./hardhat.config.ts"]
Expand Down
12 changes: 11 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@
"@types/node" "*"
form-data "^3.0.0"

"@types/node@*", "@types/node@^15.0.2":
"@types/node@*":
version "15.0.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.2.tgz#51e9c0920d1b45936ea04341aa3e2e58d339fb67"
integrity sha512-p68+a+KoxpoB47015IeYZYRrdqMUcpbK8re/zpFB8Ld46LHC1lPEbp3EXgkEhAYEcPvjJF6ZO+869SQ0aH1dcA==
Expand All @@ -848,6 +848,11 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.12.tgz#fd9c1c2cfab536a2383ed1ef70f94adea743a226"
integrity sha512-KQZ1al2hKOONAs2MFv+yTQP1LkDWMrRJ9YCVRalXltOfXsBmH5IownLxQaiq0lnAHwAViLnh2aTYqrPcRGEbgg==

"@types/node@^15.14.1":
version "15.14.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.14.1.tgz#4f9d3689532499fdda1c898e19f4593718655e36"
integrity sha512-wF6hazbsnwaW3GhK4jFuw5NaLDQVRQ6pWQUGAUrJzxixFkTaODSiAKMPXuHwPEPkAKQWHAzj6uJ5h+3zU9gQxg==

"@types/normalize-package-data@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
Expand Down Expand Up @@ -2836,6 +2841,11 @@ dom-walk@^0.1.0:
resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84"
integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==

dotenv@^10.0.0:
version "10.0.0"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81"
integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==

dotignore@~0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/dotignore/-/dotignore-0.1.2.tgz#f942f2200d28c3a76fbdd6f0ee9f3257c8a2e905"
Expand Down

0 comments on commit a402fcd

Please sign in to comment.