-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add the draft for `Web3ZkSync` * add a very early draft for `ZKSyncWallet` * apply lint:fx * add very early draft for AdapterL1 and AdapterL2 * fix * Adapters, zk l2, zk l1 * add 1 unit test for Web3ZkSyncL2 * fix build * fix a test * added test file and a method with a TODO * Fix tests. implement Wallet * tiny fix and apply lint:fix * deposit + withdraw * add wallet methods * few code fixes to wallet2.test.ts and apply lint:fix * fix build * apply lint:fix * populate transaction, sign, send refactor * fix withdraw and deposit * fix tests * apply lint:fix * add gasLimit * fixes * fixes and tests * update fixtures * fix wallet. tests * feat: enhance plugin context (#20) * enhance plugin context * enhance plugin contracts init * enhance plugin contracts init and add a test * ensure the correct provider used inside the plugin * revert a draft change * tiny to fix provider usage at plugin * link to a web3.js issue * pre deploy state * fix tests * fix * add env * test * secret to env * test * test * use envs * test * test * test * test var * test * test * fix * move web3 to dependencies * fix web3 version compatibility * apply yarn lint:fix * fix version * v1.0.0-alpha.0 * ignore file --------- Co-authored-by: Oleksii Kosynskyi <oleksii.kosynskyi@gmail.com>
- Loading branch information
1 parent
51e36d2
commit 12db0da
Showing
31 changed files
with
6,465 additions
and
643 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
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
.prettierrc.json | ||
.prettierignore | ||
*.log | ||
.idea | ||
|
||
coverage/ | ||
benchmark/ | ||
|
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 |
---|---|---|
@@ -1,50 +1,50 @@ | ||
{ | ||
"name": "web3-plugin-zksync", | ||
"version": "0.1.5", | ||
"description": "web3.js plugin for ZkSync", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"homepage": "https://github.com/web3/web3-plugin-zksync#readme", | ||
"bugs": { | ||
"url": "https://github.com/web3/web3-plugin-zksync/issues" | ||
}, | ||
"scripts": { | ||
"lint": "eslint '{src,test}/**/*.ts'", | ||
"lint:fix": "eslint '{src,test}/**/*.ts' --fix", | ||
"build": "tsc --project tsconfig.build.json", | ||
"test": "jest --config=./test/jest.config.js" | ||
}, | ||
"contributors": [ | ||
"ChainSafe <info@chainsafe.io>" | ||
], | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://git@github.com/web3/web3-plugin-zksync.git" | ||
}, | ||
"dependencies": { | ||
"ethereum-cryptography": "^2.1.3", | ||
"hardhat": "^2.19.4", | ||
"web3-core": "^4.5.0", | ||
"web3-eth-abi": "^4.2.2", | ||
"web3-eth-accounts": "^4.1.2", | ||
"web3-eth-contract": "^4.5.0", | ||
"web3-types": "^1.7.0", | ||
"web3-utils": "^4.3.0" | ||
}, | ||
"devDependencies": { | ||
"@chainsafe/eslint-config": "^2.1.1", | ||
"@types/jest": "^29.5.11", | ||
"@types/node": "^20.11.10", | ||
"eslint": "8.56.0", | ||
"jest": "^29.7.0", | ||
"jest-extended": "^4.0.2", | ||
"ts-jest": "^29.1.2", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.3.3", | ||
"web3": "^4.10.0" | ||
}, | ||
"peerDependencies": { | ||
"web3": ">= 4.0.3" | ||
} | ||
"name": "web3-plugin-zksync", | ||
"version": "1.0.0-alpha.0", | ||
"description": "web3.js plugin for ZkSync", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"homepage": "https://github.com/web3/web3-plugin-zksync#readme", | ||
"bugs": { | ||
"url": "https://github.com/web3/web3-plugin-zksync/issues" | ||
}, | ||
"scripts": { | ||
"lint": "eslint '{src,test}/**/*.ts'", | ||
"lint:fix": "eslint '{src,test}/**/*.ts' --fix", | ||
"build": "tsc --project tsconfig.build.json", | ||
"test": "jest --config=./test/jest.config.js" | ||
}, | ||
"contributors": [ | ||
"ChainSafe <info@chainsafe.io>" | ||
], | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://git@github.com/web3/web3-plugin-zksync.git" | ||
}, | ||
"dependencies": { | ||
"ethereum-cryptography": "^2.1.3", | ||
"hardhat": "^2.19.4", | ||
"web3": "4.10.1-dev.1436228.0", | ||
"web3-core": "4.5.1-dev.1436228.0", | ||
"web3-eth-abi": "^4.2.2", | ||
"web3-eth-accounts": "^4.1.2", | ||
"web3-eth-contract": "4.5.1-dev.1436228.0", | ||
"web3-types": "1.7.1-dev.1436228.0", | ||
"web3-utils": "4.3.1-dev.1436228.0" | ||
}, | ||
"devDependencies": { | ||
"@chainsafe/eslint-config": "^2.1.1", | ||
"@types/jest": "^29.5.11", | ||
"@types/node": "^20.11.10", | ||
"eslint": "8.56.0", | ||
"jest": "^29.7.0", | ||
"jest-extended": "^4.0.2", | ||
"ts-jest": "^29.1.2", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.3.3" | ||
}, | ||
"peerDependencies": { | ||
"web3": ">= 4.0.3" | ||
} | ||
} |
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
Oops, something went wrong.