Here be smart contracts for the 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.
Please see the contracts/ directory.
Contracts are written in Solidity and tested using Truffle and testrpc.
# Install Truffle and testrpc packages globally:
$ npm install -g truffle ethereumjs-testrpc
# Install local node dependencies:
$ npm install
# 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
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