GithubHelp home page GithubHelp logo

eosio-boilerplate's Introduction

EOSIO Boilerplate

This is the boilerplate for creating EOSIO contracts

Dependency repositories:

Installation

System:

  • Linux
  • WSL
  • Mac

Follow the steps [for Compiler i.e. eosio-cpp, ....]

  • M-1 (from setup file)
    • download latest (stable) version of .deb file from here.
    • in the bash terminal
    $ wget https://github.com/eosio/eosio.cdt/releases/download/v1.5.0/eosio.cdt-1.5.0-1_amd64.deb
    $ sudo apt install ./eosio.cdt-1.5.0-1_amd64.deb
    
  • M-2 (from scratch)
    • in the bash terminal
    $ git clone --recursive https://github.com/eosio/eosio.cdt
    $ cd eosio.cdt
    $ ./build.sh
    $ sudo ./install.sh
    

Setup for Dependency Libraries

  • Just execute setup.sh bash script file and run on Linux system.

Otherwise, follow the steps (detailed below):

Part A: EOSIO libraries

  • Repository: eosio.cdt repo.
  • copy and paste the following folders from Source: eosio.cdt repo:- goto the "libraries" folder:
    • boost
    • eosiolib Destination: eosio-playground
  • Commands for creating folder:
    • boost: svn checkout https://github.com/EOSIO/eosio.cdt/trunk/libraries/boost/include/boost
    • eosiolib: svn checkout https://github.com/EOSIO/eosio.cdt/trunk/libraries/eosiolib
  • Commands for updating folder:
    • boost:
      • cd boost
      • svn update
    • eosiolib:
      • cd eosiolib
      • svn update

Part B: EOSIO system contracts

  • copy and paste the following folders from Source: eosio.contracts git repo:- goto the "libraries" folder:
    • eosio.bios
    • eosio.msig
    • eosio.system
    • eosio.token
    • eosio.wrap
  • Commands for creating folder:
    • eosio.bios: svn checkout https://github.com/EOSIO/eosio.contracts/trunk/eosio.bios
    • eosio.msig: svn checkout https://github.com/EOSIO/eosio.contracts/trunk/eosio.msig
    • eosio.system: svn checkout https://github.com/EOSIO/eosio.contracts/trunk/eosio.system
    • eosio.token: svn checkout https://github.com/EOSIO/eosio.contracts/trunk/eosio.token
    • eosio.wrap: svn checkout https://github.com/EOSIO/eosio.contracts/trunk/eosio.wrap
  • Commands for updating folder:
    • eosio.bios:
      • cd eosio.bios
      • svn update
    • eosio.msig:
      • cd eosio.msig
      • svn update
    • eosio.system:
      • cd eosio.system
      • svn update
    • eosio.token:
      • cd eosio.token
      • svn update
    • eosio.wrap:
      • cd eosio.wrap
      • svn update

Part C: EOS API Header

  • Repository: eos-api
  • create folder inside eosio-playground cloned repo.: git submodule add https://github.com/oraclize/eos-api.git eos-api
  • update the repo. inside eosio-playground cloned repo.:
    • M-1: git submodule update
    • M-2:
      • cd eos-api
      • git pull

eosio-boilerplate's People

Contributors

abhi3700 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.