TONDEV Visual Studio Code plugin – TONDEV Visual Studio代码插件区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,TONDEV Visual Studio Code plugin – TONDEV Visual Studio代码插件区块链毕设代写 是一篇很好的国外资料

TONDEV Visual Studio Code plugin

Access TONDEV Toolkit functionality directly from popular IDE

Content Table

  • Installation
  • Supported operations
    • Solidity
      • Create your first contract
      • Compile
      • Version
      • Update
    • SDK
      • Create Demo Project
  • Backlog
    • Solidity
    • C/C++
    • TS4
    • Network Support

Installation

Search for TONDev extention in VS Code Marketplace and install it.

Supported operations:

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

Solidity

Create your first contract

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.

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件.

We named the contract Contract. After command is finished you will see the source code of hello world contract that you can now compile.

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件.

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

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

Version

This command shows the currently installed Solidity compiler version.

Access this command from View->Command palette->TONDEV: Show Solidity Version

Update

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

SDK

Create Demo Project

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.

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

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.

Client creation: TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

Dependencies: TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

Backlog:

Solidity

  • support other compilation and linking options

C/C++

  • Compile C/C++ contracts

TS4

  • debug contracts with TS framework and tools

Network support

  • connection to main.ton.dev, net.ton.dev and custom network configurations
  • local network
  • deploying to networks
  • operating with TON blockchains including real blockchain networks, TONOS SE

开发Visual Studio代码插件

直接从流行的IDE访问TONDEV工具箱功能

内容表

  • 连接到main.ton.dev公司, net.ton.开发自定义网络配置部署到网络上,包括真正的区块链blockchain网络、TONOS SE
  • Supported operations
    • Solidity
      • Create your first contract
      • Compile
      • Version
      • Update
    • SDK
      • Create Demo Project
  • Backlog
    • Solidity
    • C/C++
    • TS4
    • Network Support

安装

在VS Code Marketplace中搜索TONDEV扩展并安装它。

支持的操作:

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

稳固性

创建第一个契约

此命令创建一个hello world Solidity contract,其中包含可以观察和编译的注释。

单击资源管理器中的空白区域,找到“创建实体合同”命令,或从“查看”->命令面板”->TONDEV:Create Solidity Contract访问该命令。

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件。我们把合同命名为合同。命令完成后,您将看到现在可以编译的helloworld契约的源代码。

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

此命令编译并链接选定的实体合同。在成功编译之后,您将得到。abi.json文件和.tvc文件,以后可以在dapp中使用它们来部署和调用契约方法。

编译

在.sol文件上下文菜单中找到Compile Solidity Contract命令,或从视图->命令面板->TONDEV:Compile Solidity Contract访问它

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

此命令显示当前安装的Solidity编译器版本。

Version

从视图->命令调色板->TONDEV:Show Solidity Version访问此命令

此命令将编译器更新为最新版本。

Update

如果您在安装过程中遇到一些问题,或者希望获取最新的编译器版本,请使用此命令。从视图访问它->命令面板->TONDEV:Update Solidity Compiler

此命令创建节点.js具有SDK最新依赖项和索引.js创建主客户端对象的文件。

SDK

Create Demo Project

单击资源管理器中的空白区域,找到Create TON JS App command,或从视图->命令面板->TONDEV:Create TON JS App访问它。

TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

我们将我们的项目命名为demo。命令完成后,您将看到包.jsonjs sdk依赖项和索引.js客户端创建的文件,连接到本地区块链blockchainTONOS启动版。

要连接到本地区块链blockchain,您需要运行它。了解如何在这里启动它。

客户端创建:TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

Client creation: TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

Dependencies: TONDEV Visual Studio Code plugin - TONDEV Visual Studio代码插件

Backlog:

Solidity

  • support other compilation and linking options

C/C++

  • Compile C/C++ contracts

TS4

  • debug contracts with TS framework and tools

Network support

  • connection to main.ton.dev, net.ton.dev and custom network configurations
  • local network
  • deploying to networks
  • operating with TON blockchains including real blockchain networks, TONOS SE

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/20435.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » TONDEV Visual Studio Code plugin – TONDEV Visual Studio代码插件区块链毕设代写

提供最优质的资源集合

立即查看 了解详情