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
Why skipRedirectToWallet doesnt skip redirect?
Skip redirect to wallet
No response
tonConnectUI.uiOptions = { actionsConfiguration: { skipRedirectToWallet: 'always' } }; export async function launchSmartContract(amount) { const transaction = { messages: [ { address: "**************", // destination address amount: toNano(String(amount)).toString() // Toncoin in nanotons },
], }; try { const result = await tonConnectUI.sendTransaction(transaction); } catch (error) { console.error("Error sending transaction:", error); }
}
document.getElementById('ton-connect').onclick = connectToWallet; window.launchSmartContract = launchSmartContract;
The text was updated successfully, but these errors were encountered:
thekiba
No branches or pull requests
Your Question
Why skipRedirectToWallet doesnt skip redirect?
Context
Skip redirect to wallet
What have you tried so far?
No response
Relevant Code or Commands
tonConnectUI.uiOptions = {
actionsConfiguration: {
skipRedirectToWallet: 'always'
}
};
export async function launchSmartContract(amount) {
const transaction = {
messages: [
{
address: "**************", // destination address
amount: toNano(String(amount)).toString() // Toncoin in nanotons
},
}
document.getElementById('ton-connect').onclick = connectToWallet;
window.launchSmartContract = launchSmartContract;
Documentation Check
The text was updated successfully, but these errors were encountered: