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 one year ago
projk.net/

Reputation

404 + 10 this December 3 53

Badges 5

Editor Freshman Enthusiast Supporter Newbie
0 Votes
1 Answers
4K Views
0 Votes 1 Answers 4K 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...
one year ago
one year ago
1 What specifies the price of a jetton?

When added to a liquidity pool protocol, a jetton is defined by supply and demand. If you are looking for a way to sell a jetton at a single fixed price, then you're likely looking for an ICO smart contract:

https://github.com/ton-blockchain/token-contract/blob/main/ft/jetton-minter-ICO.fc#L56

Where the amount of TON sent with the transaction is multiplied by some value of jetton to mint to the sender.

int jetton_amount = buy_amount; ;; rate 1 jetton = 1 toncoin; multiply...
one year ago
0 Are there any libraries that implement the TON standards (TIPs) similar to OpenZeppelin?

Standard token contracts can be found on the main GitHub profile of the TON blockchain. You can generally look for FunC smart contracts on the TON blockchain and TON foundation profiles.

There are also some snippets that users provide, such as the FunC snippets provided by TonoxDeFi on GitHub.

one year ago
one year ago
0 Is there a developer console or any API keys that I need to create a wallet for TON?

TON is a decentralized blockchain, and rarely is there a developer console for blockchains like there is in Web2 (private blockchains might have these sorts of features). Some blockchains might have third party deployment tools for smart contracts that act as infrastructure, but that's not necessary for creating a wallet. What you're likely looking for is a way to query information off of the blockchain and to send transactions, which will require an http-api endpoint. Some of these endpoints...

one year ago
1 Is there a tutorial anywhere on creating an NFT on TON?

This is a good suggestion for a dedicated step-by-step tutorial. I imagine that the TON community will focus on this in the coming months.

Here are some resources to help with creating NFTs:

  • TON-NFT-deployer: created by TON Diamonds, this is a complete project that can help the technically minded developer deploy an NFT
  • Disintar: an NFT marketplace for TON. You might want to look into here if you want...
one year ago
0 Does TON have a Remix equivalent?

Unfortunately, there currently isn't something like the Remix IDE for TON. The best alternative would likely to load up a generic online IDE to play with smart contracts based on Glitch.

As always, I would recommend simply developing smart contracts on a local machine.

one year ago
1 What would be a good basic pet project to learn FunC with?

There are plenty of projects out there to try. Here are 3 suggestions:

  • Rock paper scissors game that require deposits to play (think about how to keep data private in between moves)
  • Try deploying a custom Jetton (token)
  • Try making a basic swap/IDO contract
one year ago
1 I've heard about "Ten Lessons" for learning FunC, where can I find them?

I haven't heard of 10 video lessons, but I do know of the Ten Lessons GitHub repository for FunC. They have since then grown to 19 lessons.

one year ago
1 Is there a way to make a local network like Ganache for TON?

The best solution is likely the TON Contract Executor. It allows you to run the TON Virtual Machine locally, and thus execute smart contracts. You should be able to debug and fully test contracts before launching them to the network. I don't believe it forks networks like HardHat can, however.

There is also MyLocalTON which is a community led solution that runs not only the virtual machine b...

one year 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 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 Can other addresses pay for the maintenance of your TON domain?

The code is law, and the law says no. I imagine that this is to ensure that domains are held by people who are "alive".

Here is the code for reference.

    if (op == op::dns_balance_release) { ;; release domain
        throw_unless(414, (now() - last_fill_up_time > one_year) & (cell_null?(auction)));
        int min_price = get_min_price(domain.begin_pars...
one year ago
0 Is it possible to transfer NFTs to Metamask?

It is not possible to use MetaMask when using TON because TON is not an EVM-based blockchain.

Also, when you import a private key or mnemonic into an application like MetaMask or MyTonWallet, you are not necessarily "transferring" to a different wallet. They're all the same account, just being displayed in a different user interface.

one year ago
1 Are there any tools to make a DAO on TON?

As far as I am aware, there are no complete user-friendly interfaces to create a DAO on TON. That being said, there are smart contract and repositories examples for you to potentially work off of.

Probably the closest to what you want:
https://github.com/orbs-network/dao-vote

Fift implementation of a multisig wallet:
https://github.com/mir-one/dao-multisig

one year ago
0 Where can I find documentation on TON payments?

There are two things that you could be talking about. The first are payment channels, which is a statement channel solution that is good if you have many small payments between two parties.

You can find information on payment channels here:
https://github.com/ton-blockchain/payment-channels
https://github.com/toncenter/tonweb/tree/master/src/contract/payments

If you're just trying to send TON from one wallet to another, you could just write a python or node script.

https://ton.or...

one year ago
1 Is there a privacy layer for dApps on TON that obscures both the dApps and the code for it?

There is no such layer or toolkit. You would have to build such primitives yourself using the TON virtual machine and potentially FunC.

one year ago
1 Is there a ternary operator in FunC?

There is such an operator; the documentation calls ita "conditional operator".

https://ton.org/docs/develop/func/statements#conditional-operator

This is the example provided:

;; <condition> ? <consequence> : <alternative>
x > 0 ? x * fac(x - 1) : 1;
one year 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
2 How do you create a new TON wallet programmatically?

In JavaScript, you can use the ton package. I have adapted an example from a community-led TON tutorial. Please use at your own risk.

What it does is:

  1. Generate multiple mnemonics
  2. Find the addresses of the generated mnemonics
  3. Fund the addresses of these mnemonics with a pre-funded wallet
  4. Send a transaction out of these mnemonnics to automatically deploy the contract
im...
one year 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 What is the best block explorer for the TON network?

There are many explorers available for TON. You can see them all here:
https://ton.app/explorers

I personally like Tonscan, because it allows you to view smart contract opcodes. It's used by most developers.

dTon is also nice because it also displays some data about the blockchain overall, if you're looking for macro-level data, similar to the Etherscan counterparts.

one year 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
Show more results compactanswers
0 Votes
1 Answers
11K Views
0 Votes 1 Answers 11K 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...
one year ago