We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ZetaChainClient
Right now the function reads a key from a filesystem. This works in a Hardhat/Node.js environment, but of course doesn't work in a browser.
https://github.com/zeta-chain/toolkit/blob/73b823d9341b2e30e6ece801c8cbe19daaca7e5d/packages/client/src/solanaDeposit.ts
We need to ensure that the function can be used from a browser.
const client = new ZetaChainClient({ network: "testnet", //... }); client.solanaDeposit()
For EVM chains we're using Ethers signer. For Solana I'm assuming it's going to be something else. Although, RainbowKit integrates with Solana.
The content you are editing has changed. Please copy your edits and refresh the page.
Related: #180
The text was updated successfully, but these errors were encountered:
@fadeev We haven't used this function in any examples yet, have we?
Sorry, something went wrong.
Not yet, no, but it can be used with this example https://github.com/zeta-chain/example-contracts/tree/main/omnichain/swap
See #179
lukema95
No branches or pull requests
Right now the function reads a key from a filesystem. This works in a Hardhat/Node.js environment, but of course doesn't work in a browser.
https://github.com/zeta-chain/toolkit/blob/73b823d9341b2e30e6ece801c8cbe19daaca7e5d/packages/client/src/solanaDeposit.ts
We need to ensure that the function can be used from a browser.
For EVM chains we're using Ethers signer. For Solana I'm assuming it's going to be something else. Although, RainbowKit integrates with Solana.
Tasks
Related: #180
The text was updated successfully, but these errors were encountered: