0.1.0 • Published 5 years ago

@relocke/neos v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Neos

NB - Work in progress experimental project

This is a work in progress, experimental Node js CLI tool designed for Node js API + Dapp developers who want to automate the compiling & deployment of their smart contracts.

Prerequisite

  1. Node js >= 8
  2. cleos & eosio-cpp version 1.5.0 part of eosio.cdt
  3. npm

Setup

Install neos

$ npm i --save-dev @relocke/neos

.neos.json

Add .neos.json file to the root directory and consider adding it to your .gitignore list.

  "neos": {
    "url": "https://jungle2.cryptolions.io:443",
    "wallet": {
      "default": "PW5HqGiqMQ3sq5upJn1R9VagmBf46m5F8AGCATso2vLGrHmUmUouF"
    }
  }

Directory Structure

directory example

Inside the contracts directory will house all the smart contracts you wish to compile and deploy.

The rc folder will comtain all your ricardian contract md files.

once you finishe developing your c++ contracts.

Compiling

$ npm run neos file_name

Compiling & Deploying

$ npm run neos file_name

Info

neos will create a .neos folder in the root directory with your compiled smart contracts, .wasm and .abi.

giving neos a second cli argument account_name will cause the compiled contract to be deployed to that eosio account name.

0.1.0

5 years ago

0.0.0

5 years ago