Checks are created with the @wallet command. However, what I want will be a gift code in the gift coupon. When we activate this code with @wallet, tons of coins will come to the wallet, just like with checks. In other words, a code entry field can be added to the @wallet checks section. So I can share the gift codes I want with my friends. Otherwise, if I add checks to the channel, users I don't know can receive the checks.
Oct 23, 2023, 12:50 PM
Bot @CryptoBot has code-locked checks.
Oct 23, 2023, 1:00 PM
So, you "gift card" is useless, because actual "gift" is a code that only some of card owners can have? Why don't yo want to make this "gift code" a card (NFT I guess?), and dont distribute card that need additional "secrets" to be redeemed?
Or you want one "gift code" to be valid for many cards?
Or you want one "gift code" to be valid for many cards?
Oct 23, 2023, 1:17 PM
I want to do the process using the @wallet command.
Oct 23, 2023, 3:35 PM
Also, you are attempting to forward 10 TON out of 1 you send.
Oct 23, 2023, 4:48 PM
so, who pays 10-1 = 9 ton ?
you send only 1
Oct 23, 2023, 4:54 PM
How do you know?
Oct 23, 2023, 4:54 PM
> amount: '1000000000',
Oct 23, 2023, 4:54 PM
.storeCoins(toNano('10'))
This is for 10 tons.
This is for 10 tons.
Oct 23, 2023, 4:54 PM
re-read TEP-74
you are sending 1ton to your jettonAddress with message (body): send 0.1 jetton to destinationAddress and then forward 10 TON to destinationAddress
you are sending 1ton to your jettonAddress with message (body): send 0.1 jetton to destinationAddress and then forward 10 TON to destinationAddress
Oct 23, 2023, 4:56 PM
This is a token amount
Oct 23, 2023, 5:00 PM
It isn't.
Oct 23, 2023, 5:00 PM
Then what?
Oct 23, 2023, 5:00 PM
It is amount of TON you send to the jetton wallet along with some request. Your wallet doesn't care what the request is.
Oct 23, 2023, 5:00 PM
Ok. Let me try.
I will ask you then.
Oct 23, 2023, 5:01 PM
This code is sending X nanoTON from your wallet no matter what the addr and payload are.
const Tx = {
validUntil: Math.floor(Date.now() / 1000) + 600,
messages: [
{
address:,
amount:,
payload:
},
],
};
const Tx = {
validUntil: Math.floor(Date.now() / 1000) + 600,
messages: [
{
address:
amount:
payload:
},
],
};
Oct 23, 2023, 5:02 PM
Oh~ Ok. Thanks.
Then how can I send jetton?
Hope you provide me the code.
Oct 23, 2023, 5:07 PM
By any chance, do you know that sending jettons uses 3-4 consecutive transactions?
Oct 23, 2023, 5:15 PM
I want to set forward amount 10 ton.
Oh~ I dunno.
Oct 23, 2023, 5:15 PM
Then you need to send 10.2 TON to jetton wallet. amount: '10200000000'
Oct 23, 2023, 5:16 PM
Oh~ I will try . Thank you so much.
Oct 23, 2023, 5:16 PM
Also, it quite possibly taps on a political issue which certainly shouldn't be discussed here.
Oct 23, 2023, 5:54 PM
Hello, I created gift cards. These gift cards will have a code for 1 ton of coins each. I wonder if Ton Coin has such an application? When the gift card holder enters the code, 1 ton of coins will come to his wallet. Checks are created with the @wallet command. However, what I want will be a gift code in the gift coupon. When we activate this code with @wallet, tons of coins will come to the wallet, just like with checks. In other words, a code entry field can be added to the @wallet checks section. So I can share the gift codes I want with my friends. Otherwise, if I add checks to the channel, users I don't know can receive the checks. I want to do the process using the @wallet command.
Oct 23, 2023, 7:22 PM
.
Oct 25, 2023, 3:57 AM
Tried again but failed.
Oct 25, 2023, 9:49 AM
Do you have transaction link?
Oct 25, 2023, 10:12 AM
Then let me try with 1ton.
Is this ok?
Oh. It works.
Thanks.
Oct 25, 2023, 10:19 AM
First of all, please describe your thoughts: what funds should be transferred by jetton wallet and where does it get them from?
Oct 25, 2023, 10:19 AM
Jetton airdrop with 10 ton.
I want to make that event.
Oct 25, 2023, 10:20 AM
Where the jetton wallet gets 10 TON from?
Oct 25, 2023, 10:21 AM
From the company's wallet.
Oct 25, 2023, 10:21 AM
Then, you are logically required to send those 10 TON plus transaction fees.
Oct 25, 2023, 10:22 AM
Yes.
Oct 25, 2023, 10:22 AM
And that's how to debug those errors.
Oct 25, 2023, 10:22 AM
Thanks.
Oct 25, 2023, 10:23 AM