Questions tagged [everscale]

Everscale is a new and unique blockchain, capable of processing millions of transactions per second, with Turing-complete smart contracts and decentralized user interfaces.

Everscale has powerful developer tools, such as compilers for Solidity and C++, client libraries, CLI tools, Evernodes with powerful GraphQL API, public APIs for mainnet and devnet. Documentation can be found here.

34 questions
3
votes
1 answer

I am having problem installing everdev tool

does anyone have such mistakes running command. I try it on to Cent OS servers and have different errors. On first servers related to access problem describing in EVER docs, but on the enother server I have this error. I use the latest version of…
3
votes
1 answer

Everscale Solidity. How to work with responsible functions? How to wait for callback?

Free Everscale Solidity. How to work with responsible functions? How to wait for callback in correct way and check the contract execution result from sdk? For example I have the contracts (which does nothing userful). How to wait in correct way in…
koda
  • 47
  • 3
2
votes
3 answers

How can I send an internal message by link from Surf in DeBot?

I follow this instruction to call smart contracts from DeBot using the message argument in the Surf URI: https://tonlabs.notion.site/For-developers-f347bd4095f74c9d9e2bd313c666905d It works ok, but it produces external messages. My guess is that the…
Norton
  • 83
  • 4
2
votes
1 answer

What is the TL-B scheme in ton-solidity and how to use it?

This question is about ton-solidity language of Everscale blockchain smart contracts. Sometimes, I see the code relative to TL-B scheme. For example, like this: function getInvokeMessage(address sender, address recipient, uint128 amount, bool…
2
votes
2 answers

How to return mapping in ton-solidity contracts?

Can I return a mapping in a function of ton-solidity contracts? I need something like this. function func() public returns((address=>someStruct) myMapping)
1
vote
1 answer

Which way of initializing a mapping item consumes less gas in T-Sol?

I am currently in the process of creating a smart contract on T-Sol that will require periodic additions of new elements to a mapping. If these elements are not already present in the mapping, they will be initialized accordingly. struct Person { …
cryonyx
  • 13
  • 2
1
vote
1 answer

What format config.tvc or how to get it?

tvm_linker test --help | grep config --config Imports config parameters from a config contract TVC What format or how to get it? I tried like this: tvmos -c em.json config --is_json true \ --url mainnet.evercloud.dev \ …
ilyar
  • 1,331
  • 12
  • 21
1
vote
1 answer

I gettting error when create project by locklift

I have installed locklift by following comand: npm install --save-dev locklift then i trying to create project by npx locklift init -f or getting version by npx locklift --version and always getting following…
merlinkory
  • 11
  • 1
1
vote
2 answers

How to get funID?

need help to get the correct funcID. I've Tried many ways. Will be glad to get your help. Thanks! slugSha256() { slug=$(echo -n "$1" | sha256sum | cut -d' ' -f1) echo -n $((16#"${slug:0:8}")) } functionHash() { hash=$(slugSha256 "$(echo -n…
1
vote
1 answer

How to avoid connection errors?

we encountering a 401 error on connecting to the main-net. What is the way to avoid this error? We've already created a project on the dashboard and have added the Authorisation. Thanks!
1
vote
1 answer

How DeBots recognize a value for external message

Please help me understand how DeBot understands which value to attach to an external message. In my Debot contract, I have an interface: interface SafeAccount { function sendTransaction(address dest, uint128 value, bool bounce, uint8 flags,…
Norton
  • 83
  • 4
1
vote
2 answers

How to run functions which accept structs as input parameters from tondev?

For example, I have a function function addClaimers(ClaimItemImport[] claimItems) onlyOwner external and the ClaimItemImport struct looks as follows: struct ClaimItemImport { uint128 balance; uint256 claimAddress; } How to call it from…
Norton
  • 83
  • 4
1
vote
3 answers

How to deploy a smartcontract and make a transfer from it in Everscale blockchain

I found this quickstart guide on how to do it locally. But there is no information about on how I can deploy my smartcontract to devnet or mainnet. So I changed endpoint: const client = new TonClient({ network: { endpoints:…
Sergei Voronezhskii
  • 2,184
  • 19
  • 32
1
vote
1 answer

Everscale blockchain: dev wallet setup

I'm learning ton blockchain development, and I want to deploy the first contract to the net.ton.dev. I follow this instruction https://docs.ton.dev/86757ecb2/p/94921e-multisignature-wallet-management-in-tonos-cli/t/59b175 and there is an unclear…
mshogin
  • 21
  • 2
1
vote
1 answer

Pass contract's code and data to another contract via CLI

Working on contract fabric, starting with the sample. TvmCell stateInit = tvm.buildStateInit(templateCode, templateData); code and data are TvmCells of a template contract and must be passed as parameters. We can get those info from a template…
nivedano
  • 116
  • 1
  • 4
1
2 3