Skip to content

Commit e4f8a9e

Browse files
authored
Initial commit
0 parents  commit e4f8a9e

30 files changed

+15933
-0
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[*]
2+
charset = utf-8
3+
end_of_line = lf
4+
indent_style = space
5+
insert_final_newline = true
6+
[*.ts]
7+
indent_size = 2
8+
max_line_length = 120
9+
[*.sol]
10+
indent_size = 4
11+
max_line_length = 99

.env.example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Deployer private key
2+
PRIVATE_KEY=YOUR PRIVATE KEY
3+
4+
# RPC Endpoints
5+
INFURA_KEY=INFURA PROJECT ID
6+
7+
# Additional keys
8+
ETHERSCAN_KEY=ETHERSCAN API KEY
9+
BSCSCAN_KEY=BSCSCAN API KEY
10+
POLYGONSCAN_KEY=POLYGONSCAN API KEY
11+
AVALANCHE_KEY=AVALANCHE API KEY
12+
COINMARKETCAP_KEY=COINMARKETCAP API KEY
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Bug Report
2+
description: File a bug report
3+
labels: ['bug']
4+
assignees:
5+
-
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: Thanks for taking the time to fill out this bug report!
10+
- type: input
11+
id: version
12+
attributes:
13+
label: "Project version"
14+
placeholder: "1.2.3"
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: what-happened
19+
attributes:
20+
label: What happened?
21+
description: A brief description of what happened and what you expected to happen
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: reproduction-steps
26+
attributes:
27+
label: "Minimal reproduction steps"
28+
description: "The minimal steps needed to reproduce the bug"
29+
validations:
30+
required: true
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Feature request
2+
description: Suggest a new feature
3+
labels: ['feature']
4+
assignees:
5+
-
6+
body:
7+
- type: textarea
8+
id: feature-description
9+
attributes:
10+
label: "Describe the feature"
11+
description: "A description of what you would like to see in the project"
12+
validations:
13+
required: true
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
name: Other issue
3+
about: Other kind of issue
4+
---

.github/actions/setup/action.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: setup
2+
3+
description: setup
4+
5+
runs:
6+
using: composite
7+
steps:
8+
- name: Setup node
9+
uses: actions/setup-node@v4
10+
with:
11+
node-version: "20.x"
12+
cache: npm
13+
14+
- name: Install packages
15+
run: npm install
16+
shell: bash

.github/workflows/checks.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "checks"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
- dev
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout the repository
17+
uses: actions/checkout@v4
18+
19+
- name: Setup
20+
uses: ./.github/actions/setup
21+
22+
- name: Run tests
23+
run: npm run test

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
node_modules
2+
.env
3+
.DS_Store
4+
5+
# Hardhat files
6+
cache
7+
artifacts
8+
coverage.json
9+
coverage
10+
abi
11+
12+
# Typechain generated files
13+
generated-types
14+
15+
# Hardhat migrate
16+
.storage.json

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm run lint-fix && git add -u

.prettierignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
node_modules
2+
.env
3+
.DS_Store
4+
package-lock.json
5+
6+
# Hardhat files
7+
cache
8+
artifacts
9+
coverage.json
10+
coverage
11+
12+
# Typechain generated files
13+
generated-types
14+
15+
# Hardhat migrate
16+
.storage.json

0 commit comments

Comments
 (0)