Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

agoric

Package Overview
Dependencies
Maintainers
1
Versions
2593
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agoric

Manage the Agoric Javascript smart contract platform

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
decreased by-10.7%
Maintainers
1
Weekly downloads
 
Created
Source

Agoric Javascript Smart Contract Platform

Prerequisites

Vagrant

To run a standardized Linux distribution with all the required development tools, you probably want Vagrant:

vagrant up --provider=docker
# or
vagrant up --provider=virtualbox
# then
vagrant ssh

The Vagrant setup has synchronized filesystem access with the workspace directory on your host system, so you can use your favourite IDE to modify the files, and just run Linux commands on the SSH connection.

Developing on the current OS

If you don't use Vagrant, you can develop on your own local operating system.

NOTE: You will need Go 1.12 or newer to run the Agoric VM.

# Install the agoric devtool.
npm install -g agoric

or:

# Run the agoric devtool.
npx agoric [...options]

Your first Agoric Dapp

Here is a simple script for how to get started.

# Initialize your dapp project.
# Note: Change the `demo` name to something meaningful.
agoric init demo
# Go to its directory.
cd demo
# Install Javascript/Go dependencies.
agoric install
# Run the local vat machine.
agoric start
# Install your smart contract and web api (can be done separately)
agoric deploy ./contract/deploy.js ./api/deploy.js
# Navigate to http://localhost:8000/

FAQs

Package last updated on 02 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc