Skip to content
Kin token contracts.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts update comment following pr Nov 1, 2017
migrations
scripts
test fix 'const DAY' value in test/VestingTrustee.js; fixes #18 Mar 18, 2018
.babelrc
.dockerignore
.gitignore Added some missing files. Sep 6, 2017
.jshintrc Added some missing files. Sep 6, 2017
.solcover.js
Dockerfile add truffle infrastructure files Sep 5, 2017
LICENSE
Makefile
README.md remove travis completely Sep 11, 2017
docker-compose.yml
kin.png
package-lock.json
package.json Removed unneeded truffle-hdwallet-provider. Sep 10, 2017
truffle.js

README.md

Kin Token Contracts

Here be smart contracts for the Kin token.

Kin Token

Kin is a cryptocurrency built on top of the Ethereum blockchain. It is envisioned as a general purpose cryptocurrency for use in everyday digital services such as chat, social media, and payments. Kin will be the unit of account for all economic transactions within the Kin Ecosystem, and it will serve as the basis of interoperability with other digital services.

Contracts

Please see the contracts/ directory.

Develop

Contracts are written in Solidity and tested using Truffle and testrpc.

Depenencies

# Install Truffle and testrpc packages globally:
$ npm install -g truffle ethereumjs-testrpc

# Install local node dependencies:
$ npm install

Test

# Initialize a testrpc instance
$ ./scripts/testrpc.sh

# This will compile and test the contracts using truffle
$ truffle test

# Enable long tests
$ LONG_TESTS=1 truffle test

Docker

Alternatively, a Docker image is provided on a best-effort basis, though we recommend to run natively.

Requires Docker Compose.

# See Makefile for more commands.
$ make build test

# If you want to run a test for a single contract:
$ docker-compose run --rm truffle npm test test/VestingTrustee.js
You can’t perform that action at this time.