Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xdc zero support #29

Merged
merged 28 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .example.env
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ PARENTCHAIN_URL=https://devnetstats.apothem.network/devnet

CHECKPOINT_CONTRACT=0x16da2C7caf46D0d7270d68e590A992A90DfcF7ee

SUBNET_ZERO_CONTRACT=0x0000000

PARENTNET_ZERO_CONTRACT=0x0000000

PARENTCHAIN_WALLET_PK=0x123

ZERO_WALLET_PK=0x123

SLACK_WEBHOOK=https://hooks.slack.com/services/blablabla
36,775 changes: 18,703 additions & 18,072 deletions package-lock.json

Large diffs are not rendered by default.

145 changes: 74 additions & 71 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,74 +1,77 @@
{
"name": "xdc-relayer",
"version": "1.8.0",
"main": "dist/server.js",
"scripts": {
"start:dev": "nodemon --ignore tests/ --watch src -e ts,tsx --exec ts-node src/server.ts",
"build-ts": "tsc",
"lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"serve": "node dist/server.js",
"build": "npm run build-ts",
"start": "npm run serve",
"test": "jest",
"test:coverage": "jest --collect-coverage",
"test:watch": "jest --watch",
"postinstall": "patch-package"
},
"engines": {
"node": "18.x.x",
"npm": "8.x.x"
},
"author": "Hashlabs",
"license": "GNU",
"homepage": "https://github.com/XinFinOrg/XDC-Relayer#readme",
"repository": "https://github.com/XinFinOrg/XDC-Relayer",
"devDependencies": {
"@types/bunyan": "^1.8.8",
"@types/cron": "^1.7.2",
"@types/jest": "^29.4.0",
"@types/koa": "2.13.1",
"@types/koa__cors": "^3.0.2",
"@types/koa__router": "^8.0.4",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-helmet": "^6.0.2",
"@types/node": "^18.14.1",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.23.0",
"jest": "^29.4.3",
"nodemon": "^2.0.20",
"prompt": "^1.3.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"dependencies": {
"@ethereumjs/block": "^4.1.0",
"@ethereumjs/rlp": "^4.0.0",
"@koa/cors": "^3.1.0",
"@koa/router": "^10.0.0",
"agentkeepalive": "^4.3.0",
"axios": "^1.3.4",
"bunyan": "^1.8.15",
"cron": "^1.8.2",
"dotenv": "^8.2.0",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
"koa-helmet": "^6.1.0",
"node-cache": "^5.1.2",
"patch-package": "^6.5.1",
"pg": "^8.5.1",
"web3": "^1.8.2"
},
"jest": {
"roots": [
"<rootDir>"
],
"testMatch": [
"**/tests/**/*.+(ts|tsx|js)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
"name": "xdc-relayer",
"version": "1.8.0",
"main": "dist/server.js",
"scripts": {
"start:dev": "nodemon --ignore tests/ --watch src -e ts,tsx --exec ts-node src/server.ts",
"build-ts": "tsc",
"lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"serve": "node dist/server.js",
"build": "npm run build-ts",
"start": "npm run serve",
"test": "jest",
"test:coverage": "jest --collect-coverage",
"test:watch": "jest --watch",
"postinstall": "patch-package"
},
"engines": {
"node": "20.x.x",
"npm": "9.x.x"
},
"author": "Hashlabs",
"license": "GNU",
"homepage": "https://github.com/XinFinOrg/XDC-Relayer#readme",
"repository": "https://github.com/XinFinOrg/XDC-Relayer",
"devDependencies": {
"@types/bunyan": "^1.8.8",
"@types/cron": "^1.7.2",
"@types/jest": "^29.4.0",
"@types/koa": "2.13.1",
"@types/koa__cors": "^3.0.2",
"@types/koa__router": "^8.0.4",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-helmet": "^6.0.2",
"@types/node": "^18.14.1",
"@types/node-fetch": "^2.6.9",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.23.0",
"jest": "^29.4.3",
"nodemon": "^3.0.1",
"prompt": "^1.3.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"dependencies": {
"@ethereumjs/block": "^4.1.0",
"@ethereumjs/rlp": "^4.0.0",
"@koa/cors": "^3.1.0",
"@koa/router": "^10.0.0",
"agentkeepalive": "^4.3.0",
"axios": "^1.3.4",
"bunyan": "^1.8.15",
"cron": "^1.8.2",
"dotenv": "^8.2.0",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
"koa-helmet": "^6.1.0",
"node-cache": "^5.1.2",
"node-fetch": "2",
"patch-package": "^6.5.1",
"pg": "^8.5.1",
"viem": "^1.18.9",
"web3": "^1.8.2"
},
"jest": {
"roots": [
"<rootDir>"
],
"testMatch": [
"**/tests/**/*.+(ts|tsx|js)"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
}
}
Loading
Loading