Get address by code hash (dev)
query:
query {
accounts(
filter: {
code_hash: {
#!/usr/bin/env bash | |
set -o errexit | |
mkdir -p src | |
cat > src/implicit.sol <<- SOL | |
pragma ton-solidity >= 0.61.0; | |
contract implicit {} | |
SOL |
Get address by code hash (dev)
query:
query {
accounts(
filter: {
code_hash: {
{ | |
"filter": { | |
"symbol": "BRIDGE", | |
"balance": 100 | |
}, | |
"list": [ | |
"0:e0acbc21f0a538a1cca6b1434d454697527a5678479976fdf48af2ba12360c4f", | |
"0:ade6e32df9e59c476e14f6ecc1f4cdc4fb1b6aaf165893f54b5d3a73695a0081", | |
"0:a80bc3541b81aa1016a23dcd1d9ea4683378e7a006be6278efa1ad147ec54a1b", | |
"0:8c0728cd29321d3e00552032af88365899d3e900169d0a87ff8180b15d4ccdac", |
abstract | author | title | |
---|---|---|---|
The aim of this text is to provide a description of the Telegram Open
Network Virtual Machine (TON VM or TVM), used to execute smart contracts
in the TON Blockchain.
|
|
Telegram Open Network Virtual Machine |
#!/usr/bin/env bash | |
set -o errexit | |
generate() { | |
name="${1}" | |
pragma="${2}" | |
cat << EOF > "build/${name}.sol" | |
pragma ton-solidity >= 0.57.3; | |
pragma AbiHeader time; |
pragma ton-solidity >=0.40.0; | |
pragma AbiHeader expire; | |
pragma AbiHeader time; | |
pragma AbiHeader pubkey; | |
import "https://raw.githubusercontent.com/tonlabs/debots/main/Debot.sol"; | |
import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Terminal/Terminal.sol"; | |
import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Media/Media.sol"; | |
import "https://raw.githubusercontent.com/tonlabs/DeBot-IS-consortium/main/Network/Network.sol"; |
#!/usr/bin/env bash | |
set -o errexit | |
# npx everdev network default se | |
# npx everdev signer default coder | |
user=${user:-alice} | |
appName=${app:-Example} | |
src=${src:-.} |
>= 14.x
installedwget --quiet https://raw.githubusercontent.com/ilyar/everscale-lab/main/util/tvm_verify.sh