Skip to content

Commit

Permalink
Provide ethers for SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Jul 27, 2023
1 parent ac26646 commit 76bb5de
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 27 deletions.
1 change: 1 addition & 0 deletions .depcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ignores: [
"@xylabs/ts-scripts-yarn3",
"@xylabs/tsconfig",
"babel-jest",
"ethers",
"jest-extended",
"jest-mock-extended",
"jest-sorted",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@xyo-network/automation-witness-server": "^2.68.0",
"body-parser": "^1.20.2",
"dotenv": "^16.3.1",
"ethers": "5.7.2",
"express": "^4.18.2",
"express-mung": "^0.5.1",
"http-status-codes": "^2.2.0",
Expand Down
162 changes: 135 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2032,7 +2032,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/abi@npm:^5.0.12, @ethersproject/abi@npm:^5.7.0":
"@ethersproject/abi@npm:5.7.0, @ethersproject/abi@npm:^5.0.12, @ethersproject/abi@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/abi@npm:5.7.0"
dependencies:
Expand All @@ -2049,7 +2049,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/abstract-provider@npm:^5.7.0":
"@ethersproject/abstract-provider@npm:5.7.0, @ethersproject/abstract-provider@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/abstract-provider@npm:5.7.0"
dependencies:
Expand All @@ -2064,7 +2064,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/abstract-signer@npm:^5.7.0":
"@ethersproject/abstract-signer@npm:5.7.0, @ethersproject/abstract-signer@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/abstract-signer@npm:5.7.0"
dependencies:
Expand All @@ -2077,7 +2077,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/address@npm:^5.0.2, @ethersproject/address@npm:^5.7.0":
"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.0.2, @ethersproject/address@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/address@npm:5.7.0"
dependencies:
Expand All @@ -2090,7 +2090,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/base64@npm:^5.7.0":
"@ethersproject/base64@npm:5.7.0, @ethersproject/base64@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/base64@npm:5.7.0"
dependencies:
Expand All @@ -2099,7 +2099,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/basex@npm:^5.7.0":
"@ethersproject/basex@npm:5.7.0, @ethersproject/basex@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/basex@npm:5.7.0"
dependencies:
Expand All @@ -2109,7 +2109,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/bignumber@npm:^5.7.0":
"@ethersproject/bignumber@npm:5.7.0, @ethersproject/bignumber@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/bignumber@npm:5.7.0"
dependencies:
Expand All @@ -2120,7 +2120,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/bytes@npm:^5.7.0":
"@ethersproject/bytes@npm:5.7.0, @ethersproject/bytes@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/bytes@npm:5.7.0"
dependencies:
Expand All @@ -2129,7 +2129,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/constants@npm:^5.7.0":
"@ethersproject/constants@npm:5.7.0, @ethersproject/constants@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/constants@npm:5.7.0"
dependencies:
Expand All @@ -2138,7 +2138,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/contracts@npm:^5.7.0":
"@ethersproject/contracts@npm:5.7.0, @ethersproject/contracts@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/contracts@npm:5.7.0"
dependencies:
Expand All @@ -2156,7 +2156,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/hash@npm:^5.7.0":
"@ethersproject/hash@npm:5.7.0, @ethersproject/hash@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/hash@npm:5.7.0"
dependencies:
Expand All @@ -2173,7 +2173,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/hdnode@npm:^5.7.0":
"@ethersproject/hdnode@npm:5.7.0, @ethersproject/hdnode@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/hdnode@npm:5.7.0"
dependencies:
Expand All @@ -2193,7 +2193,28 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/keccak256@npm:^5.7.0":
"@ethersproject/json-wallets@npm:5.7.0, @ethersproject/json-wallets@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/json-wallets@npm:5.7.0"
dependencies:
"@ethersproject/abstract-signer": ^5.7.0
"@ethersproject/address": ^5.7.0
"@ethersproject/bytes": ^5.7.0
"@ethersproject/hdnode": ^5.7.0
"@ethersproject/keccak256": ^5.7.0
"@ethersproject/logger": ^5.7.0
"@ethersproject/pbkdf2": ^5.7.0
"@ethersproject/properties": ^5.7.0
"@ethersproject/random": ^5.7.0
"@ethersproject/strings": ^5.7.0
"@ethersproject/transactions": ^5.7.0
aes-js: 3.0.0
scrypt-js: 3.0.1
checksum: f583458d22db62efaaf94d38dd243482776a45bf90f9f3882fbad5aa0b8fd288b41eb7c1ff8ec0b99c9b751088e43d6173530db64dd33c59f9d8daa8d7ad5aa2
languageName: node
linkType: hard

"@ethersproject/keccak256@npm:5.7.0, @ethersproject/keccak256@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/keccak256@npm:5.7.0"
dependencies:
Expand All @@ -2203,14 +2224,14 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/logger@npm:^5.7.0":
"@ethersproject/logger@npm:5.7.0, @ethersproject/logger@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/logger@npm:5.7.0"
checksum: 075ab2f605f1fd0813f2e39c3308f77b44a67732b36e712d9bc085f22a84aac4da4f71b39bee50fe78da3e1c812673fadc41180c9970fe5e486e91ea17befe0d
languageName: node
linkType: hard

"@ethersproject/networks@npm:^5.7.0, @ethersproject/networks@npm:^5.7.1":
"@ethersproject/networks@npm:5.7.1, @ethersproject/networks@npm:^5.7.0, @ethersproject/networks@npm:^5.7.1":
version: 5.7.1
resolution: "@ethersproject/networks@npm:5.7.1"
dependencies:
Expand All @@ -2219,7 +2240,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/pbkdf2@npm:^5.7.0":
"@ethersproject/pbkdf2@npm:5.7.0, @ethersproject/pbkdf2@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/pbkdf2@npm:5.7.0"
dependencies:
Expand All @@ -2229,7 +2250,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/properties@npm:^5.7.0":
"@ethersproject/properties@npm:5.7.0, @ethersproject/properties@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/properties@npm:5.7.0"
dependencies:
Expand All @@ -2238,7 +2259,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/providers@npm:^5.7.2":
"@ethersproject/providers@npm:5.7.2, @ethersproject/providers@npm:^5.7.2":
version: 5.7.2
resolution: "@ethersproject/providers@npm:5.7.2"
dependencies:
Expand Down Expand Up @@ -2266,7 +2287,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/random@npm:^5.7.0":
"@ethersproject/random@npm:5.7.0, @ethersproject/random@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/random@npm:5.7.0"
dependencies:
Expand All @@ -2276,7 +2297,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/rlp@npm:^5.7.0":
"@ethersproject/rlp@npm:5.7.0, @ethersproject/rlp@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/rlp@npm:5.7.0"
dependencies:
Expand All @@ -2286,7 +2307,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/sha2@npm:^5.7.0":
"@ethersproject/sha2@npm:5.7.0, @ethersproject/sha2@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/sha2@npm:5.7.0"
dependencies:
Expand All @@ -2297,7 +2318,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/signing-key@npm:^5.7.0":
"@ethersproject/signing-key@npm:5.7.0, @ethersproject/signing-key@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/signing-key@npm:5.7.0"
dependencies:
Expand All @@ -2311,7 +2332,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/solidity@npm:^5.0.9, @ethersproject/solidity@npm:^5.7.0":
"@ethersproject/solidity@npm:5.7.0, @ethersproject/solidity@npm:^5.0.9, @ethersproject/solidity@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/solidity@npm:5.7.0"
dependencies:
Expand All @@ -2325,7 +2346,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/strings@npm:^5.7.0":
"@ethersproject/strings@npm:5.7.0, @ethersproject/strings@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/strings@npm:5.7.0"
dependencies:
Expand All @@ -2336,7 +2357,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/transactions@npm:^5.7.0":
"@ethersproject/transactions@npm:5.7.0, @ethersproject/transactions@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/transactions@npm:5.7.0"
dependencies:
Expand All @@ -2353,7 +2374,41 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/web@npm:^5.7.0":
"@ethersproject/units@npm:5.7.0":
version: 5.7.0
resolution: "@ethersproject/units@npm:5.7.0"
dependencies:
"@ethersproject/bignumber": ^5.7.0
"@ethersproject/constants": ^5.7.0
"@ethersproject/logger": ^5.7.0
checksum: 304714f848cd32e57df31bf545f7ad35c2a72adae957198b28cbc62166daa929322a07bff6e9c9ac4577ab6aa0de0546b065ed1b2d20b19e25748b7d475cb0fc
languageName: node
linkType: hard

"@ethersproject/wallet@npm:5.7.0":
version: 5.7.0
resolution: "@ethersproject/wallet@npm:5.7.0"
dependencies:
"@ethersproject/abstract-provider": ^5.7.0
"@ethersproject/abstract-signer": ^5.7.0
"@ethersproject/address": ^5.7.0
"@ethersproject/bignumber": ^5.7.0
"@ethersproject/bytes": ^5.7.0
"@ethersproject/hash": ^5.7.0
"@ethersproject/hdnode": ^5.7.0
"@ethersproject/json-wallets": ^5.7.0
"@ethersproject/keccak256": ^5.7.0
"@ethersproject/logger": ^5.7.0
"@ethersproject/properties": ^5.7.0
"@ethersproject/random": ^5.7.0
"@ethersproject/signing-key": ^5.7.0
"@ethersproject/transactions": ^5.7.0
"@ethersproject/wordlists": ^5.7.0
checksum: a4009bf7331eddab38e3015b5e9101ef92de7f705b00a6196b997db0e5635b6d83561674d46c90c6f77b87c0500fe4a6b0183ba13749efc22db59c99deb82fbd
languageName: node
linkType: hard

"@ethersproject/web@npm:5.7.1, @ethersproject/web@npm:^5.7.0":
version: 5.7.1
resolution: "@ethersproject/web@npm:5.7.1"
dependencies:
Expand All @@ -2366,7 +2421,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/wordlists@npm:^5.7.0":
"@ethersproject/wordlists@npm:5.7.0, @ethersproject/wordlists@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/wordlists@npm:5.7.0"
dependencies:
Expand Down Expand Up @@ -4586,6 +4641,7 @@ __metadata:
body-parser: ^1.20.2
dotenv: ^16.3.1
eslint: ^8.45.0
ethers: 5.7.2
express: ^4.18.2
express-mung: ^0.5.1
http-status-codes: ^2.2.0
Expand Down Expand Up @@ -5750,6 +5806,13 @@ __metadata:
languageName: node
linkType: hard

"aes-js@npm:3.0.0":
version: 3.0.0
resolution: "aes-js@npm:3.0.0"
checksum: 251e26d533cd1a915b44896b17d5ed68c24a02484cfdd2e74ec700a309267db96651ea4eb657bf20aac32a3baa61f6e34edf8e2fec2de440a655da9942d334b8
languageName: node
linkType: hard

"agenda@npm:^5.0.0":
version: 5.0.0
resolution: "agenda@npm:5.0.0"
Expand Down Expand Up @@ -8458,6 +8521,44 @@ __metadata:
languageName: node
linkType: hard

"ethers@npm:5.7.2":
version: 5.7.2
resolution: "ethers@npm:5.7.2"
dependencies:
"@ethersproject/abi": 5.7.0
"@ethersproject/abstract-provider": 5.7.0
"@ethersproject/abstract-signer": 5.7.0
"@ethersproject/address": 5.7.0
"@ethersproject/base64": 5.7.0
"@ethersproject/basex": 5.7.0
"@ethersproject/bignumber": 5.7.0
"@ethersproject/bytes": 5.7.0
"@ethersproject/constants": 5.7.0
"@ethersproject/contracts": 5.7.0
"@ethersproject/hash": 5.7.0
"@ethersproject/hdnode": 5.7.0
"@ethersproject/json-wallets": 5.7.0
"@ethersproject/keccak256": 5.7.0
"@ethersproject/logger": 5.7.0
"@ethersproject/networks": 5.7.1
"@ethersproject/pbkdf2": 5.7.0
"@ethersproject/properties": 5.7.0
"@ethersproject/providers": 5.7.2
"@ethersproject/random": 5.7.0
"@ethersproject/rlp": 5.7.0
"@ethersproject/sha2": 5.7.0
"@ethersproject/signing-key": 5.7.0
"@ethersproject/solidity": 5.7.0
"@ethersproject/strings": 5.7.0
"@ethersproject/transactions": 5.7.0
"@ethersproject/units": 5.7.0
"@ethersproject/wallet": 5.7.0
"@ethersproject/web": 5.7.1
"@ethersproject/wordlists": 5.7.0
checksum: b7c08cf3e257185a7946117dbbf764433b7ba0e77c27298dec6088b3bc871aff711462b0621930c56880ff0a7ceb8b1d3a361ffa259f93377b48e34107f62553
languageName: node
linkType: hard

"execa@npm:^5.0.0":
version: 5.1.1
resolution: "execa@npm:5.1.1"
Expand Down Expand Up @@ -15780,6 +15881,13 @@ __metadata:
languageName: node
linkType: hard

"scrypt-js@npm:3.0.1":
version: 3.0.1
resolution: "scrypt-js@npm:3.0.1"
checksum: b7c7d1a68d6ca946f2fbb0778e0c4ec63c65501b54023b2af7d7e9f48fdb6c6580d6f7675cd53bda5944c5ebc057560d5a6365079752546865defb3b79dea454
languageName: node
linkType: hard

"scss-parser@npm:^1.0.4":
version: 1.0.6
resolution: "scss-parser@npm:1.0.6"
Expand Down

0 comments on commit 76bb5de

Please sign in to comment.