Skip to content

Commit 7376c78

Browse files
authored
Merge pull request #53 from windingtree/beta
Major release
2 parents 53478b8 + baccd7a commit 7376c78

File tree

94 files changed

+47226
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+47226
-103
lines changed

.commitlintrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@commitlint/config-conventional"
4+
]
5+
}

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
end_of_line = lf
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 2

.env.example

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
NODE_ENV=test
2+
3+
# network specific node uri : `"ETH_NODE_URI_" + networkName.toUpperCase()`
4+
ETH_NODE_URI_MAINNET=https://eth-mainnet.alchemyapi.io/v2/<apiKey>
5+
# generic node uri (if no specific found) :
6+
ETH_NODE_URI=https://{{networkName}}.infura.io/v3/<apiKey>
7+
8+
# network specific mnemonic : `"MNEMONIC_ " + networkName.toUpperCase()`
9+
MNEMONIC_MAINNET=<mnemonic for mainnet>
10+
# generic mnemonic (if no specific found):
11+
MNEMONIC=<mnemonic>
12+
13+
# coinmarketcap api key for gas report
14+
COINMARKETCAP_API_KEY=
15+
16+
# etherscan api key
17+
ETHERSCAN_API_KEY=

.eslintignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
node_modules
2+
.github
3+
dist
4+
lib
5+
build
6+
coverage
7+
typedoc
8+
temp
9+
artifacts-zk
10+
cache-zk
11+
artifacts
12+
cache
13+
./**/*.sol
14+
typechain
15+
package

.eslintrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"extends": [
4+
"plugin:@typescript-eslint/recommended",
5+
"plugin:@typescript-eslint/recommended-requiring-type-checking"
6+
],
7+
"plugins": ["@typescript-eslint"],
8+
"parserOptions": {
9+
"ecmaVersion": 2022,
10+
"sourceType": "module",
11+
"project": ["./tsconfig.json"]
12+
},
13+
"rules": {}
14+
}

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.sol linguist-language=Solidity
2+
*.ts linguist-language=Typescript
3+
* text=auto eol=lf
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: "triage needed"
6+
assignees: ""
7+
---
8+
9+
**⚠️ CAUTION: Any issue related to trading / price / not related with the code directly within this repository will be closed without comment**
10+
11+
**🆘 SECURITY: Any bug related to smart contract security should be addressed to security@windingtree.com**
12+
13+
**Describe the bug**
14+
A clear and concise description of what the bug is.
15+
16+
**To Reproduce**
17+
Steps to reproduce the behavior:
18+
19+
1. Go to '...'
20+
2. Click on '....'
21+
3. Scroll down to '....'
22+
4. See error
23+
24+
**Expected behavior**
25+
A clear and concise description of what you expected to happen.
26+
27+
**Screenshots**
28+
If applicable, add screenshots to help explain your problem.
29+
30+
**Desktop (please complete the following information):**
31+
32+
- OS: [e.g. iOS]
33+
- Browser [e.g. chrome, safari]
34+
- Version [e.g. 22]
35+
36+
**Smartphone (please complete the following information):**
37+
38+
- Device: [e.g. iPhone6]
39+
- OS: [e.g. iOS8.1]
40+
- Browser [e.g. stock browser, safari]
41+
- Version [e.g. 22]
42+
43+
**Additional context**
44+
Add any other context about the problem here.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: "triage needed"
6+
assignees: ""
7+
---
8+
9+
**⚠️ CAUTION: Any issue related to trading / price / not related with the code directly within this repository will be closed without comment**
10+
11+
**🆘 SECURITY: Any bug related to smart contract security should be addressed to security@windingtree.com**
12+
13+
**Is your feature request related to a problem? Please describe.**
14+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
15+
16+
**Describe the solution you'd like**
17+
A clear and concise description of what you want to happen.
18+
19+
**Describe alternatives you've considered**
20+
A clear and concise description of any alternative solutions or features you've considered.
21+
22+
**Additional context**
23+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE/.gitkeep

Whitespace-only changes.

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- beta
7+
jobs:
8+
release:
9+
name: Release
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: "lts/*"
20+
- name: Install dependencies
21+
run: |
22+
yarn install --frozen-lockfile
23+
yarn --cwd package install --frozen-lockfile
24+
- name: Lint
25+
run: |
26+
yarn lint
27+
yarn --cwd package lint
28+
- name: Build project
29+
run: yarn package:update
30+
- name: Test
31+
run: yarn test
32+
- name: Release
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36+
run: |
37+
cd package
38+
npx semantic-release

0 commit comments

Comments
 (0)