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
`
async function handleSignAndExecuteTxBlock() {
if (!wallet.connected) return; // define a programmable transaction const tx = new TransactionBlock(); const packageObjectId = "0xXXX"; tx.moveCall({ target: `${packageObjectId}::nft::mint`, arguments: [tx.pure("Example NFT")], }); try { // execute the programmable transaction const resData = await wallet.signAndExecuteTransactionBlock({ transactionBlock: tx, }); console.log("nft minted successfully!", resData); alert("Congrats! your nft is minted!"); } catch (e) { console.error("nft mint failed", e); }
} `
The text was updated successfully, but these errors were encountered:
This issue should be the version mismatch between @suiet/wallet-kit and @mysten/sui.js. So you could try to check these two versions and match them.
Sorry, something went wrong.
bruceeewong
No branches or pull requests
`
async function handleSignAndExecuteTxBlock() {
}
`
The text was updated successfully, but these errors were encountered: