Skip to content
New issue

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

send JETTONS via @tonconnect/ui or @tonconnect/sdk #523

Open
akegaviar opened this issue Jul 8, 2024 · 0 comments
Open

send JETTONS via @tonconnect/ui or @tonconnect/sdk #523

akegaviar opened this issue Jul 8, 2024 · 0 comments

Comments

@akegaviar
Copy link
Owner

Please tell me how to transfer tokens without privatekey, I found only such examples in the documentation.

const transaction = {
	validUntil: Math.floor(Date.now() / 1000) + 60, // 60 sec
	messages: [
		{
			address: '',
			amount: 10000000,
			payload: ,
		},
	]
}
const result = await connector.sendTransaction(transaction);

I tried for a long time, substituted different payloads according to examples, different addresses (tokens and wallets), still nothing works, error - Failed to verify the transaction.

Answer

https://docs.ton.org/develop/dapps/ton-connect/message-builders

Transfer With a Comment - base64


Original

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant