-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add containerization, fix env, scripts
- Loading branch information
Showing
70 changed files
with
377 additions
and
40,059 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"build": { "dockerfile": "Dockerfile" }, | ||
|
||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"git.detectSubmodules": false, | ||
"solidity.compileUsingRemoteVersion": "v0.8.20+commit.a1b79de6", | ||
"terminal.integrated.defaultProfile.linux": "bash", | ||
"terminal.integrated.profiles.linux": { | ||
"bash": { | ||
"path": "/bin/bash" | ||
} | ||
} | ||
}, | ||
"extensions": [ | ||
"JuanBlanco.solidity", | ||
"streetsidesoftware.code-spell-checker", | ||
"tamasfe.even-better-toml", | ||
"ms-vscode.makefile-tools", | ||
"ryanluker.vscode-coverage-gutters" | ||
] | ||
} | ||
} | ||
} |
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,11 +1,11 @@ | ||
# Deployer private key | ||
PRIVATE_KEY=YOUR PRIVATE KEY | ||
PRIVATE_KEY=YOUR_PRIVATE_KEY | ||
|
||
# RPC Endpoints | ||
INFURA_KEY=INFURA PROJECT ID | ||
INFURA_KEY=INFURA_PROJECT_ID | ||
|
||
# Additional keys | ||
ETHERSCAN_KEY=ETHERSCAN API KEY | ||
BSCSCAN_KEY=BSCSCAN API KEY | ||
ETHERSCAN_KEY=ETHERSCAN_API_KEY | ||
BSCSCAN_KEY=BSCSCAN_API_KEY | ||
|
||
COINMARKETCAP_KEY=COINMARKETCAP API KEY | ||
COINMARKETCAP_KEY=COINMARKETCAP_API_KEY |
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 was deleted.
Oops, something went wrong.
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,18 @@ | ||
FROM ghcr.io/foundry-rs/foundry:latest as foundry | ||
|
||
RUN apk update | ||
|
||
FROM node:latest | ||
|
||
COPY --from=foundry /usr/local/bin/forge /usr/local/bin/forge | ||
COPY --from=foundry /usr/local/bin/cast /usr/local/bin/cast | ||
COPY --from=foundry /usr/local/bin/anvil /usr/local/bin/anvil | ||
COPY --from=foundry /usr/local/bin/chisel /usr/local/bin/chisel | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
make \ | ||
lcov | ||
|
||
RUN npm install -g npm@latest | ||
|
||
ENTRYPOINT ["/bin/bash", "-c", "tail -F 'Wait for commands'"] |
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,6 @@ | ||
forge-install: | ||
rm -rfv lib \ | ||
&& forge install --no-git foundry-rs/[email protected] \ | ||
&& forge install --no-git OpenZeppelin/[email protected] \ | ||
&& forge install --no-git OpenZeppelin/[email protected] \ | ||
&& forge install --no-git dl-solarity/solidity-lib |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.