Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
82 changed files
with
1,101 additions
and
2,097 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
.cache/*.json | ||
.libs.json | ||
build | ||
node_modules | ||
package-lock.json | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "ens"] | ||
path = ens | ||
url = https://github.com/ensdomains/ens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
language: node_js | ||
dist: trusty | ||
sudo: false | ||
|
||
services: | ||
- docker | ||
|
||
node_js: | ||
- "6" | ||
- "8" | ||
|
||
install: | ||
- npm install -g aira-deploy ethereumjs-testrpc | ||
- npm install | ||
|
||
script: | ||
- aira-deploy --abi | ||
|
||
cache: | ||
directories: | ||
- .cache | ||
- docker run --rm -d -p 8545:8545 foamspace/cliquebait:latest | ||
- sleep 30 | ||
- npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
## Airalab smart contracts | ||
Robonomics platform contracts | ||
============================= | ||
|
||
[![Build Status](https://travis-ci.org/airalab/core.svg?branch=master)](https://travis-ci.org/airalab/core) | ||
[![GitHub release](https://img.shields.io/github/release/airalab/core.svg)]() | ||
[![Build Status](https://travis-ci.org/airalab/robonomics_contracts.svg?branch=master)](https://travis-ci.org/airalab/robonomics_contracts) | ||
[![GitHub release](https://img.shields.io/github/release/airalab/robonomics_contracts.svg)]() | ||
|
||
> Keep all significant smart-contracts in this repository. | ||
- [API Reference](https://airalab.github.io/core/docs) | ||
- [ABIs](https://github.com/airalab/core/tree/master/abi) | ||
- [EthPM](https://www.ethpm.com/registry) | ||
How to use | ||
---------- | ||
|
||
Tested on Truffle@4.1.11 | ||
|
||
To build contracts run in it's directory: | ||
|
||
## How to build | ||
Tested on Truffle@3.4.11 | ||
To build a single package run in it's directory: | ||
``` | ||
truffle compile | ||
``` | ||
|
||
To install dependencies: | ||
|
||
To run testing framework: | ||
|
||
``` | ||
truffle install airalab-token airalab-common | ||
truffle test | ||
``` | ||
|
||
To publish a package to EthPM register run: | ||
To deploy contracts in testnet run in it's directory: | ||
|
||
``` | ||
truffle publish | ||
truffle migrate | ||
``` | ||
|
||
Configuration of RPC is located in truffle.js file. Here's links to our packages in EthPM: | ||
- [airalab-common](https://www.ethpm.com/registry/packages/39) | ||
- [airalab-token](https://www.ethpm.com/registry/packages/40) | ||
- [airalab-liability](https://www.ethpm.com/registry/packages/41) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.