Skip to content

Commit a484c2a

Browse files
committed
feat: submit keys (create NO)
1 parent 7d89728 commit a484c2a

File tree

453 files changed

+25754
-6958
lines changed

Some content is hidden

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

453 files changed

+25754
-6958
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ yarn-error.log*
4242

4343
#ide
4444
.vscode
45+
46+
public/runtime/
47+
Dockerfile

.env

Lines changed: 0 additions & 31 deletions
This file was deleted.

.env.example

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# RPC API urls by network
2+
# EL_RPC_URLS_{CHAIN_ID} list or URLs delimeted by commas, first entry is primary, else are fallbacks
3+
EL_RPC_URLS_1=
4+
EL_RPC_URLS_17000=
5+
6+
# IPFS prefill RPC URLs - list of URLs delimited by commas
7+
PREFILL_UNSAFE_EL_RPC_URLS_1=
8+
PREFILL_UNSAFE_EL_RPC_URLS_17000=
9+
10+
# supported networks for connecting wallet
11+
SUPPORTED_CHAINS=1,5,17000
12+
13+
# this chain uses when a wallet is not connected
14+
DEFAULT_CHAIN=1
15+
16+
# comma-separated trusted hosts for Content Security Policy
17+
# e.g. http://localhost:PORT for local development
18+
CSP_TRUSTED_HOSTS=https://*.lido.fi
19+
20+
# put "true" enable report only mode for CSP
21+
CSP_REPORT_ONLY=true
22+
23+
# api endpoint for reporting csp violations
24+
CSP_REPORT_URI=http://localhost/api/csp-report
25+
26+
# rate limit
27+
RATE_LIMIT=60
28+
RATE_LIMIT_TIME_FRAME=60
29+
30+
# Matomo analytics (in future will be MATOMO_HOST)
31+
MATOMO_URL=
32+
33+
# WalletConnect project ID
34+
WALLETCONNECT_PROJECT_ID=
35+
36+
# ETH Stake Widget API for IPFS mode
37+
WIDGET_API_BASE_PATH_FOR_IPFS=

.eslintignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@
1111

1212
# production
1313
/build
14-
1514
/public
15+
16+
# generated
17+
/generated

.eslintrc.json

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44
"es2021": true,
55
"node": true
66
},
7-
"extends": [
8-
"eslint:recommended",
9-
"plugin:@typescript-eslint/recommended",
10-
"plugin:react/recommended",
11-
"plugin:react-hooks/recommended",
12-
"plugin:jsx-a11y/recommended",
13-
"plugin:prettier/recommended"
14-
],
7+
"extends": ["plugin:jsx-a11y/recommended", "@lidofinance", "prettier"],
158
"parser": "@typescript-eslint/parser",
169
"parserOptions": {
1710
"ecmaFeatures": {
@@ -22,17 +15,34 @@
2215
},
2316
"plugins": ["@typescript-eslint", "react"],
2417
"rules": {
25-
"prettier/prettier": ["error", {}, { "usePrettierrc": true }],
26-
"react/react-in-jsx-scope": "off",
27-
"react/prop-types": "off",
28-
"@typescript-eslint/no-empty-interface": "off",
29-
"@typescript-eslint/no-unused-vars": [
30-
"error",
31-
{ "ignoreRestSiblings": true }
32-
],
18+
"@typescript-eslint/require-await": "off",
19+
"react/display-name": "off",
20+
"@typescript-eslint/no-shadow": "off",
3321
"jsx-a11y/no-autofocus": "off",
3422
"jsx-a11y/anchor-is-valid": "off",
35-
"func-style": ["error", "expression"]
23+
"@next/next/no-img-element": "off",
24+
"no-console": ["warn", { "allow": ["warn", "error", "info", "debug"] }],
25+
"@typescript-eslint/no-unused-vars": [
26+
"warn",
27+
{
28+
"ignoreRestSiblings": true,
29+
"argsIgnorePattern": "^_"
30+
}
31+
],
32+
"promise/param-names": [
33+
"warn",
34+
{
35+
"resolvePattern": "^_?(resolve)$|^_$",
36+
"rejectPattern": "^_?(reject)$|^_$"
37+
}
38+
],
39+
"func-style": ["error", "expression"],
40+
"@typescript-eslint/no-misused-promises": [
41+
"error",
42+
{
43+
"checksVoidReturn": false
44+
}
45+
]
3646
},
3747
"settings": {
3848
"react": {

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
/node_modules
55
/.pnp
66
.pnp.js
7+
.yalc
8+
yalc.lock
9+
tsconfig.tsbuildinfo
10+
11+
# playwright
12+
/test-results/
13+
/playwright-report/
14+
/playwright/.cache/
715

816
# testing
917
/coverage
@@ -20,7 +28,6 @@
2028

2129
# misc
2230
.DS_Store
23-
tsconfig.tsbuildinfo
2431

2532
# env
2633
.env.local

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

.prettierignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010
/out/
1111

1212
# production
13-
/build
13+
/build
14+
15+
CHANGELOG.md

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"useTabs": false,
33
"singleQuote": true,
44
"tabWidth": 2,
5-
"trailingComma": "all"
5+
"trailingComma": "all",
6+
"printWidth": 80
67
}

0 commit comments

Comments
 (0)