jjgonecrypto / eos-token-ci-example

An example repo with EOS tokens connected to Continuous Integration (CI) server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EOS Token CI Example

CircleCI

Updated as of EOS v1.4.3

This repo takes the EOSIO.token example and wraps it in a testing environment that supports nodejs.

Note: much of this was inspired by the work of @MrToph with his Yeoman generator https://github.com/MrToph/generator-eos

Related Reading

New to EOS? Here's a guide I've put together to get started understanding the EOS ecosystem from a developer's perspective. It includes the various ways to get your local development environment setup

Developing tokens yourself? Here's a list of gotchas for would-be token developers, especially for those coming from Ethereum ERC20 standards.

Setup

  1. Clone this repo (either with --recursive flag or run git submodule update --init --recursive after cloning to get the contract code)
  2. Install Docker
  3. Pull down the latest CI image (docker pull justinjmoses/eosio-ci)

Write your code and test

  1. Change the eosio.token files as needed
  2. Run npm run compile:docker which puts the eosio.token WASM and ABI into the build folder. Alternatively if you have eosio-cpp installed (via eosio.cdt), you can run npm run compile which is a bit faster.
  3. Run npm run test:docker

Continuous Integration

Future work

... deployments!

About

An example repo with EOS tokens connected to Continuous Integration (CI) server

License:MIT License


Languages

Language:JavaScript 92.7%Language:Shell 7.3%