TON Дев Чат
0 2 + .
как говорится по русскому
0 owner_workchain !
0xd7ce52658ff6638b0e4fefaf6ff6fd02a91697b7bbe65de4befeb600b81b8967 owner_account_id !
dictnew orders !
// code
<b 0 32 u, file-base +".pk" load-generate-keypair constant wallet_pk B, 0 32 u, 0 32 u, 0 Gram, 0 Gram, owner_workchain @ 32 i, owner_account_id @ 256 u, orders @ dict, b>
https://app.tonkeeper.com/ton-login/${requestURL}
Я такой url проверял, он работает
kQAVDM6EfgAeGUdJr30n_BUlpxswc8y48h_9GjoVArXLGUos
openssl req -x509 -newkey rsa:4096 -keyout myKey.pem -out cert.pem -days 365 -nodes
openssl pkcs12 -export -out keyStore.p12 -inkey myKey.pem -in cert.pem -name "alias"
copy stack at 0x7f8c7c02f270 (1 entries)
copy stack at 0x7f8c7c02ed10 (0 entries)
copy stack at 0x7f8c7c005fa0 (0 entries)
copy stack at 0x7f8c7c028a50 (1 entries)
copy stack at 0x7f8c7c0053d0 (0 entries)
Traceback (most recent call last):
File "/home/michael/pytonv3/pyTON/__main__.py", line 229, in wrapper
return web.json_response( { "ok": True, "result": await asyncio.wait_for(func(*args, **kwargs), 100 if high_timeout else 5) }, headers=headers)
File "/usr/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
Traceback (most recent call last):
File "/home/michael/pytonv3/pyTON/__main__.py", line 229, in wrapper
return web.json_response( { "ok": True, "result": await asyncio.wait_for(func(*args, **kwargs), 100 if high_timeout else 5) }, headers=headers)
File "/usr/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
return fut.result()
File "/home/michael/pytonv3/pyTON/__main__.py", line 522, in getAddress
return await tonlib.raw_run_method(address, method, stack)
File "/home/michael/pytonv3/pyTON/client.py", line 298, in raw_run_method
contract_id = await self._load_contract(address);
File "/home/michael/pytonv3/pyTON/client.py", line 267, in _load_contract
return r["id"]
KeyError: 'id'
1652945288.378963 reconnect
pytonv3
, насколько мне известно есть более свежая реализация, в котором много улучшений, попробуйте его: https://github.com/toncenter/ton-http-api
downloading state
: должно двигаться вперед (опять же на ноде из свежего мастера)
tail -f /var/ton-work/log
[ 1][t 0][2022-05-20 14:42:44.119438538][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
[ 1][t 0][2022-05-20 14:43:34.675723746][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
[ 1][t 0][2022-05-20 14:43:47.382702864][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
[ 1][t 0][2022-05-20 14:43:59.425813711][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
[ 1][t 0][2022-05-20 14:44:11.468408723][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
[ 1][t 0][2022-05-20 14:44:35.747054483][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
[ 1][t 0][2022-05-20 14:45:15.293555095][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
[ 1][t 0][2022-05-20 14:45:26.807533063][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
[ 1][t 0][2022-05-20 14:45:36.818384234][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
[ 1][t 0][2022-05-20 14:45:47.876177418][TcpListener.cpp:62][!TcpListener[port:55341]] Accept
INFO: 🥰 First time run - i'll create config folder 4you and save some stuff there
INFO: 🤖 Check all executables are installed...
WARNING: 🤖 Can't find executable for func, please specify it, e.g.: /usr/bin/func
Path: crypto/func
ERROR: Command '['/Users/user/Projects/ton-macos-binaries/crypto/func', '-V']' died with <Signals.SIGILL: 4>.
WARNING: 😅 Path is not correct, please double check it
WARNING: 🤖 Can't find executable for func, please specify it, e.g.: /usr/bin/func
[1/6] Installing required packages
Unknown operating system.
This OS is not supported with this script at present. Sorry.
) Было у кого такое?
response_address
parameter. slice_empty?
undefined )begin_parse
undefined )get_data
undefined )
alld
в mytonctrl
mg b859c0bf-be83-40b8-87be-3f727f7987d9 <recipient> 5.38
{'type': 'Exception', 'args': ('Wallet balance is less than requested coins',), 'message': 'Wallet balance is less than requested coins’}
from
to
amount
'TonLib' object has no attribute 'restart_hook'