Skip to content

Commit

Permalink
Solana deposit and call (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Dec 24, 2024
1 parent 5e088f9 commit 188a33d
Show file tree
Hide file tree
Showing 10 changed files with 401 additions and 524 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@uniswap/v2-core": "^1.0.1",
"@zetachain/protocol-contracts-solana": "2.0.0-rc1",
"chai": "^4.2.0",
"cpx": "^1.5.0",
"eslint": "^8.42.0",
Expand Down Expand Up @@ -100,7 +101,7 @@
"@solana/web3.js": "^1.95.3",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"@zetachain/faucet-cli": "^4.1.1",
"@zetachain/networks": "v10.0.0",
"@zetachain/networks": "10.0.0-rc1",
"@zetachain/protocol-contracts": "11.0.0-rc3",
"axios": "^1.4.0",
"bech32": "^2.0.0",
Expand All @@ -125,4 +126,4 @@
"ws": "^8.17.1"
},
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
}
}
2 changes: 2 additions & 0 deletions packages/client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {
getZRC20GasToken,
sendZeta,
solanaDeposit,
solanaDepositAndCall,
trackCCTX,
zetachainCall,
zetachainWithdraw,
Expand Down Expand Up @@ -176,6 +177,7 @@ export class ZetaChainClient {
getZRC20FromERC20 = getZRC20FromERC20;
getZRC20GasToken = getZRC20GasToken;
solanaDeposit = solanaDeposit;
solanaDepositAndCall = solanaDepositAndCall;
zetachainWithdrawAndCall = zetachainWithdrawAndCall;
zetachainWithdraw = zetachainWithdraw;
zetachainCall = zetachainCall;
Expand Down
Loading

0 comments on commit 188a33d

Please sign in to comment.