Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Profile picture
Jeremy
  USA
Administrator Moderator
1 Question, 84 Answers
  Active since 27 January 2023
  Last activity 9 months ago
projk.net/

Reputation

384 + 10 this February 3 53

Badges 5

Editor Freshman Enthusiast Supporter Newbie
0 Votes
1 Answers
2K Views
0 Votes 1 Answers 2K Views
One of the primary differentiators of TON is the fact that it is an asynchronous block chain. This introduces concepts such as lamport time and crazy orderin...
9 months ago
0 Are there TON explorers that can show on-chain NFT images?

There are TON NFT explorers. For example, the following explorer is linked on the official TEP-62 NFT standard page:

https://explorer.tonnft.tools/

As for explorers that parse on-chain data, I don't know of any. There are many ways to store data on-chain, but URLs are the most prevalent. Would be a cool project for anyone willing to try it!

11 months ago
0 How can I transfer TON in PHP?

I believe that other TVM projects use PHP heavily, but TON does not. There are PHP community extensions that are available for you to use, but they are still in development:

https://github.com/olifanton/ton

It will allow you to interact with wallets:

https://github.com/olifanton/ton/blob/main/src/Olifanton/Ton/Contracts/Wallets/V4/WalletV4.php

For example, where variable $kp is the keypair and variable $transport is a structure defined by the SDK that essentially acts as a provid...

11 months ago
0 How do I install a smart contract development environment on an Apple M1 Mac?

This particular issue makes it look like there isn't a specific piece of tech called OpenSSL installed on your device. If you have homebrew installed, you can install with the following:

brew install openssl
11 months ago
0 Is Windows suitable for developing TON smart contracts?

To a certain degree you can attempt to develop smart contracts on Windows, yes. You can install the TON CLI on Windows with python:

pip install toncli

https://ton.org/docs/develop/smart-contracts/sdk/toncli#windows

Remember that TON is by-and-large a community led project, with much of the infrastructure being decentralized. Unix based systems are nearly the norm in many developer communities. I strongly recommend using WSL (Windows Subsystem for Linux) if you intend ...

11 months ago
0 What is the size limit for bocs?

A boc is not limited in size, in fact the whole blockchain state is a cell with a bunch of cells wrapped within them. Everything is a cell!

An external message is limited by 64kb, which may limit the size of a boc that you're trying to create with your smart contract logic. You can see this defined in the lite client, but it is subject to change:

https://github.com/ton-blockchain/ton/blob/db3619ed310484fcfa4e3565be8e10458f9f2f5f/validator/impl/external-message.hpp#L40

10 months ago
0 Can a validator be run on a consumer PC?

There is a difference between technically possible and realistically possible. As long as you fulfill all of the tech requirements of a validator, then yes you could technically run a validator.

However, a realistic long-term solution requires a proper server and a data-center. Consumer PCs are not designed for such workload and stability. You do not want to pay for downtime with your TON stake.

10 months ago
0 Where can I find wallet v3r1 and v3r2 FunC code?

You can find them in the following GitHub repository, but they were written in Fift:

https://github.com/ton-blockchain/ton/tree/master/crypto/smartcont

11 months ago
0 Are there any open-source wallets that support staking?

Here are two open source wallets:

Additionally, the staking contract is open source for you to interface with in any way you desire.

10 months ago
0 Is there a bridge between TON and Everscale Network?

Like @<1485940136469336064|Daniil Sedov> mentioned, there is currently no publicly known bridge between TON and Everscale Network. You can track all of the bridges on TON with the following link:

https://ton.app/bridges

The official bridge currently includes bridging between Ethereum and Binance.

one year ago
0 How do I convert a wallet address to base64?

Here is one example of how the Kotlin package does so:

https://github.com/andreypfau/ton-kotlin/blob/f0f2e7e05bc46d48fcbf6cef75249eea46890c7a/ton-block/src/commonMain/kotlin/org/ton/block/AddrStd.kt#L108

import org.ton.crypto.base64
import org.ton.crypto.base64url

fun convert(address: String): String {
	val raw = try {
			base64url(address)
	} catch (E: Exception) {
			base64(address)
	}
	return raw;
}

10 months ago
0 How do I deploy a custom contract with TonWeb?

You can use the tonweb-contract component of the TonWeb package.

First, create your contract class:

import {Contract} from 'web3-eth-contract';

export class MyContract extends Contract {
    constructor(provider, options) {
				// insert the bytes of your code here
        options.code = hexToBytes('abcd..');
        super(provider, options);

				// add definitions of the functions of the contract
        this.method.myMethod = ...
    }

    // @override
   ...
10 months ago
0 When a function "throws" in FunC, is the transaction cancelled?

It depends on whether or not a transaction is internal or external.

If a transaction is internal, it depends on the bounce flag. If the address that the internal transaction is directed to is bounceable, then that 10 TON amount minus gas will be returned to the original address. The transaction will still be recoreded in the blockchain.

If a transaction is external, then it depends on the accept call in the code. If the t...

10 months ago
0 Where is the TON Proxy documentation?

For users who are unfamiliar, TON Proxy is the "entrypoint" for conencting with the TON Network's sites. The website has some documentation here:

https://docs.ton.org/participate/web3/setting-proxy

Generally, the idea is to connect to one of the public entry TON Proxies:

in1.ton.org:8080
in2.ton.org:8080
in3.ton.org:8080

And then add a manual HTTP proxy to your browser/device with said proxy.

If you want to learn how to set up your own proxy, the documentation i...

10 months ago
0 Where do I put custom attributes in an NFT?

Refer to TIP-62 and the get_nft_content option which should return the "full" metadata:

https://github.com/ton-blockchain/TIPs/issues/62

10 months ago
0 Why do I get a connection refused error when running the lite client?

This can be caused by outdated config files. Ensure that you've downloaded the right ones and are using them.

10 months ago
0 Where can I get documentation for developing on the TON network?

The official TON documentation can be found here:
https://ton.org/docs

If you're getting started with TON, a recent tutorial has been made available here:
https://ton-community.github.io/tutorials/01-wallet/

one year ago
0 Can I use pytonlib with an AMD CPU on Linux?

You likely can. Just use:

pip install pytonlib

If that doesn't work, you can try a community member's python version of tonsdk.

one year ago
0 How to prevent "out of gas" errors?

There are two parts to this question. The first is ensuring that you don't encounter the "out of gas" error.

You can try to estimate a transaction's gas fee by first calling the http-api's estimateFee endpoint. You can see how TON Center does it on their documentation site. Essentially, you want to provide details about the transaction that you will send to see how much gas the transaction could cost or if it will fail.
...

9 months ago
0 Why am I encountering "Rate limit exceeded: 1 per 1 second" when using the toncenter.com RPC?

You need an API key to overcome this limitation. The @tonapibot will give you one, as described on the toncenter website.

Once you get to production, it's best to run your own instance.

one year ago
0 How do I deploy a contract to MainNet with tondev?

You are likely referring to the tondev tool which has since been renamed to everdev. While both Everscale and TON use the TVM, they are in reality different blockchains that have since gone their separate development paths. You cannot use the tondev or everdev tools to deploy a smart contract to TON.

I recommend using the Blueprint tool at ton-community/Blueprint...

10 months ago
12 months ago
0 How do you send TON transactions in Python?

There is one community led solution called pytonlib that I have found to send a transaction in Python. Please note that I have not tried it myself so I cannot in good faith recommend it, but the community members who work on it are quite active.

Install with:

pip install ton

Here is an example of how it is used to send a transaction.

from .init import client
from .wallet import wallet

# Viewing transactions
txs =...
one year ago
0 How do I run my own HTTP API for TON?

There are two ways. The first, currently experimental, allows you to run locally. Don't do this for production:

pip install ton-http-api
source ~/.bash_profile
ton-http-api

The second is through Docker:

mkdir private
curl -sL https://ton-blockchain.github.io/global.config.json > private/mainnet.json
curl -sL https://ton-blockchain.github.io/testnet-global.config.json > private/testnet.json
./configure.py
docker-compose build
docker-compose up -d

...

10 months ago
Show more results compactanswers
0 Votes
1 Answers
8K Views
0 Votes 1 Answers 8K Views
How do I send jettons with TonWeb? Is there any other way to do it programmatically? --- > This question was imported from Telegram Chat: https://t.me/tondev...
11 months ago