Get anything anywhere, powered by the blockchain. Chain Line is a peer-to-peer shipping network that gets products and valuable items to their destinations with near-zero risk.
It works by moving an item's cost between peers as it travels through the system. A central "hub" contract controls "reserved funds" in Chain Line smart wallets running custom verification scripts. Chain Line features a user reputation system and relies on no external systems, operating entirely on the blockchain.
Chain Line Contracts
The smart contracts powering Chain Line run on the NEO blockchain and were written in Kotlin.
./The Kotlin project containing contract sources
./unit-testsThe .NET Core project containing VM based contract tests
Building the contracts
- Install the .NET Core v1.1 SDK
- Install JDK 8 and Maven
- Clone this repository and run
Compiled contract avm files may be found in the root directory of the project.
Note: You might have to put
org.neo.smartcontract.framework.jarsomewhere dotnet can find it (try your PATH or
/usr/local/share/dotnet). You can build the jar by running
vendor/neo-devpack-java. It will be created in
Running the tests
make test (the easy way) or
- Install Visual Studio
- Open the unit tests project in
- Run the tests within the IDE (on a Mac this is done through
Unit Teststhen click
Run Allin the side pane)
Generating the docs
Dokka is used to generate the docs as an HTML site. Run
make docs to generate the pages and then look in
A snapshot of the docs is accessible via GitHub Pages.