-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use buildler.dev . remove truffle (#731)
* truffle 5.1.20 * add .gitattreibutes * use buildler.dev . remove truffle * travis fix * Add mocha vscode support Co-authored-by: benk10 <ben.kaufman10@gmail.com>
- Loading branch information
1 parent
f04d0d6
commit b8e9868
Showing
54 changed files
with
4,032 additions
and
2,568 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,6 @@ | |
"no-undef": "off", | ||
"eol-last": 2, | ||
"eqeqeq": "error" | ||
} | ||
}, | ||
"ignorePatterns": ["cache/", "node_modules/"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.sol linguist-language=Solidity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ node_modules/ | |
.node-xmlhttprequest-sync* | ||
*.tgz | ||
.vscode/ | ||
cache/ | ||
artifacts/ | ||
site/ | ||
yarn* | ||
.DS_Store | ||
report* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"require": ["@nomiclabs/buidler/register"], | ||
"timeout": 20000, | ||
"recursive": "test" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
usePlugin("@nomiclabs/buidler-truffle5"); | ||
usePlugin("@nomiclabs/buidler-solhint"); | ||
|
||
// This is a sample Buidler task. To learn how to create your own go to | ||
// https://buidler.dev/guides/create-task.html | ||
task("accounts", "Prints the list of accounts", async () => { | ||
const accounts = await web3.eth.getAccounts(); | ||
|
||
for (const account of accounts) { | ||
console.log(account); | ||
} | ||
}); | ||
|
||
module.exports = { | ||
paths: { | ||
artifacts: './build/contracts' | ||
}, | ||
networks: { | ||
buidlerevm: { | ||
accounts: [ | ||
{ | ||
privateKey: | ||
"0xc5e8f61d1ab959b397eecc0a37a6517b8e67a0e7cf1f4bce5591f3ed80199122", | ||
balance: "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | ||
}, | ||
{ | ||
privateKey: | ||
"0xd49743deccbccc5dc7baa8e69e5be03298da8688a15dd202e20f15d5e0e9a9fb", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x23c601ae397441f3ef6f1075dcb0031ff17fb079837beadaf3c84d96c6f3e569", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0xee9d129c1997549ee09c0757af5939b2483d80ad649a0eda68e8b0357ad11131", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x87630b2d1de0fbd5044eb6891b3d9d98c34c8d310c852f98550ba774480e47cc", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x275cc4a2bfd4f612625204a20a2280ab53a6da2d14860c47a9f5affe58ad86d4", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x7f307c41137d1ed409f0a7b028f6c7596f12734b1d289b58099b99d60a96efff", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x2a8aede924268f84156a00761de73998dac7bf703408754b776ff3f873bcec60", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x8b24fd94f1ce869d81a34b95351e7f97b2cd88a891d5c00abc33d0ec9501902e", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29085", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29086", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29087", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29088", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b29089", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908a", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908b", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908c", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908d", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908e", | ||
balance: "10000000000000000000000" | ||
}, | ||
{ | ||
privateKey: | ||
"0x28d1bfbbafe9d1d4f5a11c3c16ab6bf9084de48d99fbac4058bdfa3c80b2908f", | ||
balance: "10000000000000000000000" | ||
} | ||
] | ||
} | ||
}, | ||
solc: { | ||
version: "0.5.16", // Fetch exact version from solc-bin (default: truffle's version) | ||
optimizer: { | ||
enabled: true, | ||
runs: 200 | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.