Access TONDEV Toolkit functionality directly from VS Code IDE with TONDEV extension.
Search for TONDev
extention in VS Code Marketplace and install it.
Go to View -> Command Pallete...
and enter tondev
. You will see the list of available commands.
Also some commands can be accessed from context menu of Code Explorer (click on empty area) or files that have .sol
, .cpp
, abi.json
and .tvc
extensions.
This command creates a hello-world Solidity contract with comments that you can observe and compile.
Click on the empty space in Explorer and find Create Solidity Contract
command or access it from
View->Command palette->TONDEV: Create Solidity Contract
.
We named the contract Contract
. After command is finished you will see the source code of hello world contract that you can now compile.
This command compiles and links a selected Solidity contract. After successful compilation you get .abi.json and .tvc files that you can later use in your DApps to deploy and call contract methods.
Find Compile Solidity Contract
command in the .sol file context menu or access it from
View->Command palette->TONDEV: Compile Solidity Contract
This command shows the currently installed Solidity compiler version.
Access this command from
View->Command palette->TONDEV: Show Solidity Version
This command updates the compiler to the latest version.
In case you had some problems with installation or want to pull the latest compiler version use this command.
Access it from View->Command palette->TONDEV: Update Solidity Compiler
This command creates a hello-world C++ contract with comments that you can observe and compile.
Click on the empty space in Explorer and find Create C++ Contract
command or access it from
View->Command palette->TONDEV: Create C++ Contract
.
We named the contract Contract
. After command is finished you will see the source code of hello world contract that you can now compile.
This command compiles and links a selected C++ contract. After successful compilation you get .abi.json and .tvc files that you can later use in your DApps to deploy and call contract methods.
Find Compile C++ Contract
command in the .sol file context menu or access it from
View->Command palette->TONDEV: Compile C++ Contract
This command shows the currently installed Solidity compiler version.
Access this command from
View->Command palette->TONDEV: Show C++ Version
This command updates the compiler to the latest version.
This command creates a Node.js project with SDK latest dependencies and index.js file with main Client object creation.
Click on the empty space in Explorer and find Create TON JS App
command or access it from
View->Command palette->TONDEV: Create TON JS App
.
We named our project demo
. After command is finished you will see package.json with js sdk dependencies
and index.js file with client creation, connecting to local blockchain TONOS Startup Edition.
To connect to the local blockchain you need to run it. Find out how to launch it here.
- Support other compilation and linking options
- Debug contracts with TS framework and tools
- Support GUI for network management
- Support GUI for keys management
- Support deploy and execution of contracts with nice UI