Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PREDA Language Preview ToolchainNew to Visual Studio Code? Get it now.
PREDA Language Preview Toolchain

PREDA Language Preview Toolchain

PREDA-Dev-Team

|
374 installs
| (0) | Free
Local development environment for the PREDA smart contract programming language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PREDA Language Preview Toolchain

This is a local toolchain for the PREDA smart contract programming language. PREDA is designed for parallel execution of smart contract transactions on sharding blockchains. The PREDA language preview toolchain includes the pre-built PREDA compilers and execution engines, VSCode extensions, and sample smart contracts and execution scripts. Programmers can use VSCode to edit, compile, and execute PREDA smart contracts in a local blockchain simulator and check the execution results, e.g., address states on the chain.

Installation

requires node v12.17.0 or higher for ES2015 and async function support.

$ npm install -g @vscode/vsce

Usages

  • To compile PREDA smart contract (.prd):

    • use shortcut Ctrl+5 / Command + 7
    • or right click the Text Editor and then click PREDA: Compile in editor context menu
    • or click PREDA: Compile button in context menu of file explorer Alt text
  • To set arguments for PREDA script (.prdts):

    • use shortcut Ctrl+6 / Command + 6
    • or right click the Text Editor and then click PREDA: Set Args in editor context menu
    • or click PREDA: Set Args button in context menu of file explorer
    • the arguments will be stored in a local file scriptArgs.json and be reused for further execution Alt text
  • To run PREDA script (.prdts):

    • use shortcut Ctrl+5 / Command + 5
    • or right click the Text Editor and then click PREDA: Run in editor context menu
    • or click PREDA: Run button in context menu of file explorer
    • a new VSCode Tab will be automatically launched after the execuiton of the PREDA script Alt text
  • To deploy PREDA smart contract (.prd):

    • use shortcut Ctrl+8 / Command + 8
    • or right click the Text Editor and then click PREDA: deploy in editor context menu
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft