generated from w3hc/w3hc-hardhat-template
-
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.
- Loading branch information
0 parents
commit 1e554a0
Showing
30 changed files
with
7,421 additions
and
0 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,17 @@ | ||
# Arthera Mainnet | ||
ARTHERA_MAINNET_RPC_ENDPOINT_URL="https://rpc.arthera.net" | ||
ARTHERA_MAINNET_PRIVATE_KEY="88888" | ||
|
||
# Sepolia | ||
SEPOLIA_RPC_ENDPOINT_URL="https://ethereum-sepolia.publicnode.com" | ||
SEPOLIA_PRIVATE_KEY="88888" | ||
ETHERSCAN_API_KEY="88888" | ||
|
||
# OP Sepolia | ||
OP_SEPOLIA_RPC_ENDPOINT_URL="https://sepolia.optimism.io" | ||
OP_SEPOLIA_PRIVATE_KEY="88888" | ||
OP_ETHERSCAN_API_KEY="88888" | ||
|
||
# Arthera Testnet | ||
ARTHERA_TESTNET_RPC_ENDPOINT_URL="https://rpc-test.arthera.net" | ||
ARTHERA_TESTNET_PRIVATE_KEY="88888" |
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,50 @@ | ||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
|
||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
run_install: false | ||
|
||
- name: Get pnpm store directory | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | ||
- name: Setup pnpm cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ env.STORE_PATH }} | ||
key: Linux-pnpm-store-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
Linux-pnpm-store- | ||
- name: Update pnpm lockfile | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Check code formatting with Prettier | ||
run: pnpm run prettier-check |
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,12 @@ | ||
node_modules | ||
coverage | ||
coverage.json | ||
typechain | ||
typechain-types | ||
.DS_Store | ||
|
||
cache | ||
artifacts | ||
|
||
.env* | ||
!.env.template |
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,27 @@ | ||
# OSX | ||
.DS_Store | ||
|
||
# env | ||
.env | ||
|
||
# node | ||
node_modules | ||
package-lock.json | ||
yarn.lock | ||
yarn-error.log | ||
|
||
# editooors | ||
.idea | ||
.vscode | ||
|
||
# tsc / hardhat / foundry | ||
artifacts | ||
cache | ||
out | ||
data | ||
build | ||
dist | ||
lib | ||
|
||
# github | ||
.github |
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,22 @@ | ||
{ | ||
"tabWidth": 4, | ||
"useTabs": false, | ||
"semi": false, | ||
"singleQuote": false, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid", | ||
"printWidth": 80, | ||
"overrides": [ | ||
{ | ||
"files": "*.sol", | ||
"options": { | ||
"printWidth": 100, | ||
"tabWidth": 4, | ||
"useTabs": false, | ||
"singleQuote": false, | ||
"bracketSpacing": false, | ||
"explicitTypes": "always" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.