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
Follow up on issue #1082
I'm still getting the same issue I have tried reinstalling the "@tatumio/tatum" and "@tatumio/evm-wallet-provider"
The text was updated successfully, but these errors were encountered:
Hi,
I have slightly modified your code, and this should work:
import { TatumSDK, Network } from "@tatumio/tatum"; import { EvmWalletProvider } from "@tatumio/evm-wallet-provider"; async function bsc() { const tatumSdk = await TatumSDK.init({ network: Network.BINANCE_SMART_CHAIN_TESTNET, apiKey: { v4: "YOUR_API_KEY" }, configureWalletProviders: [EvmWalletProvider], }); const payload = { privateKey: "YOUR_PRIVATE_KEY", to: "TO", value: "0.1", maxPriorityFeePerGas: "10", maxFeePerGas: "10", }; console.log(tatumSdk.walletProvider); const txHash = await tatumSdk.walletProvider .use(EvmWalletProvider) .signAndBroadcast(payload); console.log(txHash); await tatumSdk.destroy(); } bsc();
Let me know if it works for you!
Sorry, something went wrong.
Thank you for your help 👍 It's working fine now
No branches or pull requests
Follow up on issue #1082
I'm still getting the same issue I have tried reinstalling the "@tatumio/tatum" and "@tatumio/evm-wallet-provider"
The text was updated successfully, but these errors were encountered: