forked from NomicFoundation/hardhat
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial import of Buidler EVM and release 1.0.1
- Loading branch information
1 parent
b3e6b22
commit 686512e
Showing
579 changed files
with
21,148 additions
and
2,406 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1 +1 @@ | ||
package-lock=false | ||
package-lock=false |
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 @@ | ||
SEE LICENSE IN EACH PACKAGE'S LICENSE 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
declare module "ethereumjs-abi"; |
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 @@ | ||
declare module "ethereumjs-block"; |
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 @@ | ||
declare module "ganache-core"; |
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 @@ | ||
declare module "merkle-patricia-tree/secure"; |
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 |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
/api | ||
/.vuepress/dist | ||
.DS_Store | ||
/errors/README.md | ||
wget-readmes.sh |
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 |
---|---|---|
@@ -1,45 +1,108 @@ | ||
const defaultSlugify = require("vuepress/lib/markdown/slugify"); | ||
const plugins = require("./plugins.js"); | ||
const pluginsChildren = []; | ||
|
||
plugins.forEach(plugin => { | ||
let readmePath = | ||
"/plugins/" + | ||
plugin.name.replace("/", "-").replace(/^@/, "") + | ||
".md"; | ||
|
||
pluginsChildren.push([readmePath, plugin.name, 0]); | ||
}); | ||
|
||
module.exports = { | ||
title: "Buidler", | ||
description: "Buidler is a task runner for Ethereum smart contract developers.", | ||
description: | ||
"Buidler is a task runner for Ethereum smart contract developers.", | ||
serviceWorker: false, | ||
ga: 'UA-117668706-2', | ||
ga: "UA-117668706-2", | ||
themeConfig: { | ||
logo: "/logo.svg", | ||
nav: [ | ||
{ text: "Home", link: "/" }, | ||
{ text: "Why Buidler", link: "https://medium.com/nomic-labs-blog/buidler-compounding-value-for-ethereum-developers-425141a41b7b" }, | ||
{ text: "Plugins", link: "/plugins/"}, | ||
{ text: "Guides", link: "/guides/#getting-started" }, | ||
{ text: "Documentation", link: "/documentation/" }, | ||
{ text: "API", link: "/api/" }, | ||
{ text: "Nomic Labs", link: "https://nomiclabs.io" } | ||
{ text: "Buidler EVM", link: "/buidler-evm/" }, | ||
{ text: "Plugins", link: "/plugins/" }, | ||
{ text: "Documentation", link: "/getting-started/" }, | ||
{ text: "API", link: "/api/" } | ||
], | ||
lastUpdated: true, | ||
repo: "nomiclabs/buidler", | ||
docsDir: "docs", | ||
docsBranch: "master", | ||
editLinkText: "Help us improve this page!", | ||
editLinks: true, | ||
sidebar: { | ||
'/guides/': [{ | ||
sidebarDepth: 1, | ||
displayAllHeaders: true, | ||
sidebar: [ | ||
["/getting-started/", "Getting Started", 1], | ||
["/config/", "Configuration", 0], | ||
["/buidler-evm/", "Buidler EVM", 0], | ||
{ | ||
title: "Guides", | ||
url: "/guides/", | ||
collapsable: false, | ||
depth: 1, | ||
children: [ | ||
'/guides/', | ||
'testing', | ||
'create-task', | ||
'create-plugin', | ||
'truffle-migration', | ||
'scripts', | ||
'typescript' | ||
["/guides/truffle-migration.md", "Migrating from Truffle", 0], | ||
["/guides/project-setup.md", "Setting up a project", 0], | ||
["/guides/compile-contracts.md", "Compiling your contracts", 0], | ||
["/guides/truffle-testing.md", "Testing with Web3.js & Truffle", 0], | ||
["/guides/waffle-testing.md", "Testing with ethers.js & Waffle", 0], | ||
["/guides/deploying.md", "Deploying your contracts", 0], | ||
["/guides/scripts.md", "Writing scripts", 0], | ||
["/guides/buidler-console.md", "Using the Buidler console", 0], | ||
["/guides/create-task.md", "Creating a task", 0], | ||
["/guides/ganache-tests.md", "Running tests with Ganache", 0], | ||
["/guides/vscode-tests.md", "Running tests on VS Code", 0], | ||
["/guides/typescript.md", "TypeScript support", 0] | ||
] | ||
}], | ||
'/documentation/': { | ||
sidebar: 'auto' | ||
}, | ||
{ | ||
title: "Advanced", | ||
collapsable: false, | ||
children: [ | ||
[ | ||
"/advanced/buidler-runtime-environment.html", | ||
"Buidler Runtime Environment (BRE)", | ||
0 | ||
], | ||
["/advanced/building-plugins.html", "Building plugins", 0] | ||
] | ||
}, | ||
{ | ||
title: "Troubleshooting", | ||
collapsable: false, | ||
children: [ | ||
["/troubleshooting/verbose-logging.html", "Verbose logging", 0], | ||
["/troubleshooting/common-problems.html", "Common problems", 0], | ||
["/errors/", "Error codes", 0] | ||
] | ||
}, | ||
{ | ||
title: "Plugins", | ||
collapsable: false, | ||
children: pluginsChildren | ||
} | ||
} | ||
] | ||
}, | ||
head: [ | ||
['meta ', { name: 'Cache-Control', content: 'public, max-age=0, must-revalidate' }] | ||
] | ||
[ | ||
"meta ", | ||
{ name: "Cache-Control", content: "public, max-age=0, must-revalidate" } | ||
] | ||
], | ||
markdown: { | ||
slugify: title => { | ||
const errorTitle = /(^BDLR\d+):/; | ||
|
||
const match = errorTitle.exec(title); | ||
|
||
if (match !== null) { | ||
return match[1]; | ||
} | ||
|
||
return defaultSlugify(title); | ||
} | ||
} | ||
}; |
Oops, something went wrong.