Home

Awesome

Waves Ride language extention and Waves JS Console for Visual Studio Code

Ride compiler version 1.4.18-94668465c91abb4403f0d28ba6031191e88de65f

Ride is the language used in Waves blockchain to create smart accounts. This extention provides:

Usage

Extention recognizes ".ride" files

Code completion

Use standard Ctrl/Command + Space to autocomplete. Global functions, variables, transaction types are supported. Pattern matching and if/else statements supported via snippets

Error highlighting

Currently shows first compilation error. Invalid base64 and base58 strings are highlighted via syntax highlighting

Interactive console

To open interactive console run "Start Waves JS Console" task via command palette (Shift + Command + P). Waves JS Console is a javascript console with convenient functions to interact with blockchain. Console provides help method for this functions.

Available functions

Transactions:

You can create and sign transactions. All functions take transaction parameters and optional seed to sign. If no seed is provided, default one from settings will be used. For more detailed list check @waves/waves-transactions library, that is used internally

Addresses and keys:

You can generate keyPairs from seed. If no seed is provided, default one from settings will be used.

Code interaction:

You can interact with code.

Blockchain interaction:

You can broadcast transaction to blockchain or publish current script

Settings

Default chain id

"rideExtention.repl.CHAIN_ID": "T"

Default seed

"rideExtention.repl.SEED": "our default example seed for ride extention plugin inside visual studio code"

Node URL

"rideExtention.repl.API_BASE": "https://nodes-testnet.wavesnodes.com"