An open API service indexing awesome lists of open source software.

https://github.com/jjgonecrypto/eos-contracts

Some example eos contracts
https://github.com/jjgonecrypto/eos-contracts

eos eos-contracts escrow

Last synced: 4 months ago
JSON representation

Some example eos contracts

Awesome Lists containing this project

README

        

# EOS Contracts

[![CircleCI](https://circleci.com/gh/justinjmoses/eos-contracts.svg?style=svg)](https://circleci.com/gh/justinjmoses/eos-contracts)

A collection of EOS smart contracts that interact with each other. This is meant purely as a proof of concept for contract interaction on EOS.

## Preparation

- Make sure you have `eosio-cpp` available on your path (by installing eosio.cdt), and you have `cleos` on your path (that is either using a local `nodeos` and `keods` or remote ones.)

## Examples

- [Compiled-Read](./contracts/compiled-read) is an example of a contract where it can read the table state of a another already-deployed contract by being compiled with the same source file.

- [Escrow](./contracts/escrowed-token) is an example of an escrow contract with vesting schedule. Any given tokens can be transferred in, and the contract will hold them until vesting is invoked, distributing the percentage back that is owed to the user.