Skip to content
ICO and Securities Depository on Blockchain POC
JavaScript
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
migrations
test
README.md
truffle.js

README.md

Securities / ICO Depository on Blockchain

Accompanying blog post here

This is ICO / Securities Depository blockchain implementation Proof of Concept projec on Ethereum.

It implements a simplified securities depository domain model with Issuer, Security, Shareholder and a Transaction ledger.

Ledger and balances are implemented with double-entry bookkeeping - credit/debit Transactions.

Tests outline

  • Creation of Issuer, Security, Shareholder
  • Emitting securities by Issuer
  • Transferring securities between Shareholders

Current implementation is not optimized for performance.

Contribution is welcome.

DISCLAIMER! Curent repo is not optimized for security or performance, but serves as a proof of concept.

Running

Uses Truffle

Run an Ethereum node

For example

TestRPC via Docker:

docker run -d -p 8545:8545 ethereumjs/testrpc:latest --account="0xf3a7e9c563ee0322062ff7a6f51034292af2cf81f010d456a71cb4f7a7134499, 100000000000000000000000000000000"`

Geth new account (OSX)

geth --dev --ipcpath ~/Library/Ethereum/geth.ipc console
>personal.newAccount()
>miner.start()

Geth existing account and password in password.txt (OSX)

geth --dev -unlock "0" -password password.txt -rpc --ipcpath ~/Library/Ethereum/geth.ipc console
>miner.start();

Deploy and test application

truffle compile
truffle test
truffle migrate
You can’t perform that action at this time.