Skip to content

VS Code extension for developing Elrond Smart Contracts - Rust, C and C++.

License

Notifications You must be signed in to change notification settings

truststaking/elrond-ide-vscode

 
 

Repository files navigation

Elrond IDE for Visual Studio Code

Build Status

This Visual Studio Code extension is under development: CHANGELOG

What is it?

Elrond IDE is an extension for Visual Studio Code that offers development support for Elrond Smart Contracts.

Elrond IDE supports the following programming languages:

  • Rust - recommended. For Rust, the IDE also provides a step-by-step debugging experience, via elrond-wasm-debug and CodeLLDB.
  • C / C++

Main features

  • Build Smart Contracts to WASM
  • Step-by-step debugging Rust smart contracts
  • Automatically download tools and dependencies

How to get it

Elrond IDE can be installed from the Visual Studio Code Marketplace.

Requirements and dependencies

Operating system

  • Linux is supported
  • Windows is not supported yet
  • MacOS is supported

If you experience any issues, please let us know on Github or on Telegram.

erdpy is the backend of the Visual Studio Code extension. erdpy is required by the Elrond IDE. In order to install it, please follow these steps.

Other dependencies

The extension, via erdpy, will automatically download its external dependencies, so you do not have to worry much about setting up the development environment. These automatically installed dependencies include:

  • RUST buildchain
  • Arwen Tools (Mandos framework, Arwen Debug)
  • LLVM (clang, llc, wasm-ld etc.)

Extension Commands

This extension contributes the following commands (Ctrl+Shift+P):

  • newFromTemplate
  • buildContract
  • cleanContract
  • runMandosTests
  • runArwenDebugTests
  • runContractSnippet

Contributors

How to publish an update of the extension

  1. Bump version in package.json and package-lock.json
  2. Push to GitHub
  3. Publish release on Github, add release notes
  4. Update changelog via make changelog, commit & push (message = "Update changelog.")
  5. Publish to VSCode Marketplace via make publish

About

VS Code extension for developing Elrond Smart Contracts - Rust, C and C++.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.9%
  • Makefile 0.1%