AppKit JS
Developer ToolsEver PlatformForum
  • Everscale JS Application Kit
  • reference
    • AppKit Reference
  • Samples
    • AppKit Samples
  • Guides
    • AppKit Guides
    • Configure AppKit
    • Configure Custom Giver
    • Deploy
    • Run On-chain
    • Run ABI Get Method
    • Work with Events
  • Links
    • AppKit JS repository
    • EVER SDK documentation
Powered by GitBook
On this page
  • About Run
  • Run on-chain
  • Sample source code
  1. Guides

Run On-chain

PreviousDeployNextRun ABI Get Method

Last updated 3 years ago

Learn how to run methods of a contract on-chain

About Run

Run operation means that you execute the contract's function on-chain by sending it an external inbound message. Run steps

Run operation consists of few steps:

  1. Creating a message;

  2. Sending a message;

  3. Receiving the message completion transaction;

  4. Receiving external messages created by return function;

  5. Decoding the messages bodies according to the ABI.

Run on-chain

For running methods of ABI-compatible contracts AppKit provides run method:

 // Call `touch` function
let response = await helloAcc.run("touch", {});

Sample source code

Observe the full sample:

Check out for more information about running a contract.

https://github.com/tonlabs/sdk-samples/tree/master/demo/hello-wallet
core api documentation
About Run
Run on-chain
Sample source code