TON Dev Chat
telemint_text$_ len:(## 8) text:(bits (len * 8)) = TelemintText;
len * 8
bits is the text?
pytonlib
only the text is present in the data and not the len.pytonlib
reads the length for me for some reason?
() recv_internal(int my_balance, int msg_value, cell in_msg_full, slice in_msg_body)
my_balance
with including the incoming msg_value
? or without?
init code
I want to deploy for smart contract, is the code I generated in Tact language folder.
external message
means here were the data I send with the Txs?
"https://testnet.toncenter.com/api/v2/jsonRPC"
mnemonics
is correct. By using the library let kk = await mnemonicValidate(mnemonics);
you can get a true or false message to verify. Telemint
NFTs (smart contract that Telegram is using for fragment.com auctioning)console.log
?
const client = new LiteClient({ engine });
how can i know when client is ready to query? it shows engine closed error. if i query something as soon as instantiated
validator-engine
:--state-ttl<arg> state will be gc'd after this timeIt's from
--block-ttl<arg> blocks will be gc'd after this time
--archive-ttl<arg> archived blocks will be deleted after this time
validator-engine --help
If you are using mytonctrl
, then you need to edit the run command:/etc/systemd/system/validator.service
const deploy = wallet.deploy(keyPair.secretKey);
const deploySended = await deploy.send();
Error: Failed to unpack account state
let wallet = WalletContractV3R2.create({ workchain, publicKey: keyPair.publicKey });
let contract = client.open(wallet);
console.log(contract)
and I am getting an different addresses
ton
library for tact-wallet and it works, but I'm not sure my way to get pk
as Bigint
really fine. Could somebody check and advice best practice for TS in this case?
toncenter.com
now, you could try tonapi.io
. Or the other way round.`tonapi.i
o` does return an error. I'm just not sure what it means
~dump(encode_number_to_text(int variable))
i can see output in explorer?
in1.ton.org
does work. For safe and reliable browsing you may install proxy on your own computer.
generate_internal_address
, defining a global function of unknown typeimport base64
a = bytes.fromhex("4223566B13DC30AF06C3E0A698BD82E5BEF6A88204F6D1924346D6C516173CD4")
b = base64.b64encode(a)
c = b.decode("utf-8")
print(c) # QiNWaxPcMK8Gw+CmmL2C5b72qIIE9tGSQ0bWxRYXPNQ=
web2
parameter on your domain at your HTTP[S] site and name that domain to me so that I could test my proxy extension?dns_web2_address__temp#a908 url:(bits *) = DnsRecord;
— I propose to use 0xA908 as 16-bit temporary prefix for setting record type.
generate_internal_address
, defining a global function of unknown typenetstat -ntlup
to see what port the node is using
Gram,
which is defined in TonUtil.fif, and ton-compiler gives me error
Gram
without comma, word that pushes 10^9 to the stack?
Gram,
as well. Have you included TonUtil.fif
in your file?main.fif
:{ -1 { 1+ 2dup 8 * ufits } until
rot over 4 u, -rot 8 * u, } : Gram,
address_helpers.func
in your test contracts or address_helpers.func
may be missing from your test-libs
folder.
asm
declarations." what is an example of where asm error could occur and aside from asm declaration what is a typical cause?
cell type_err() asm "ZERO ENDC";
throw_unless(73, (sender_wc == -1) & (sender_addr == validator_address));
@ton-community/tx-emulator
has been rebranded into @ton-community/sandbox and significantly improved!ton-core
under the hood and is compatible with all the APIs that it provides, making the creation of smart contract wrappers easier than ever!blockchain-experimental
features have been merged, so you can now emulate whole chains of transactions and even emulate interactions with existing smart contracts from real networks (both mainnet and testnet)!kQBUfJ41_-cSEfF1q0vsFX9wZG2-t4zRNLYzrgb1kHftRywP
`sendWithdrawal(
)` function was moved into a separate class (it's identical as before), and 2) initialization code in `onApplicationBootstra
p()` was moved into the new class as well, only the last line was changed (`this.onBootstrapListeners.forEach((v) =>
v());` - previously was `this.runCronJobs
= true;`).walletContract.address.toString({ testOnly: true, urlSafe: true });