Giter Club home page Giter Club logo

agoric-vscode-extension's Introduction

Agoric Platform Extension for Visual Studio Code

This extension automates the installation and setup of Agoric SDK for DeFi development in JavaScript.

It assits in setting up your environment for building and deploying secure DeFi on Agoric - a Proof-of-Stake chain, with composable JavaScript Smart Contracts.

Prerequisites

  • Node.js LTS (version 14.15.0 or higher)
  • node-gyp (you can check for this by running node-gyp help in your terminal)
  • Yarn (npm install -g yarn)

Platform specific requirements are found at the Agoric SDK repo

Installation

  1. Open the Extensions sidebar in VS Code. View โ†’ Extensions
  2. Search for Agoric, choose "Agoric" by danbmky
  3. Click Install to install it

This extension is also installable on other non-local vscode platforms like:

  • vscode.dev
  • github.dev

Options

agoric.autoUpdate

By default, on startup, Agoric checks for SDK updates and updates the version locally. If you want to opt out of this, set the agoric.autoUpdate option to false. Eg:

{
  "agoric.autoUpdate": false
}

agoric.installDir

By default, this extension installs the Agoric SDK in the home directory. Configure a custom install directory by changing the field. Eg:

{
  "agoric.installDir": "/another-path"
}

Keyboard Shortcuts

  • CTRL/CMD + Shift + A : Checks for SDK updates then installs & setups the new Agoric SDK version.

Viewing Debug logs

You can view the debug logs of the setup in the 'Agoric' output channel by:

  • pressing CTRL/CMD + Shift + U on your keyboard
  • switching to the Agoric output channel as seen in the image below: image of the agoric vscode extension output channel

Running this extension locally

  • Clone this repo
  • Cd into the project folder
  • Install the project dependencies
  • Type F5 then choose 'Run Extension' to interact with the extension or choose 'Extension Tests' to Run the extension integration tests.

Created by Dan Bamikiya. Go follow me on Twitter!

LICENSE

Agoric Extension is released under the Apache License 2.0

agoric-vscode-extension's People

Contributors

danbamikiya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.