A High Performance, Decentralized Cryptocurrency Exchange
Centralized exchanges rely on trusting that their owners will take the proper security precautions. This has led to many incidents of stolen cryptocurrency adding up to billions of dollars worth of losses, and is a stark contrast to the decentralization of the rest of the space. On the other hand, decentralized exchanges have the potential to be much more secure: theoretically, users are not vulnerable to server downtime and hacks, and can retain anonymity.
We present N Chainz, a decentralized cryptocurrency exchange with a unique multi-chain architecture. We built N Chainz from the ground up, and included features such as block generation, limit orders, and the ability to trade a base token with another token. More details are included in our whitepaper.
go get -d github.com/rsenapps/nchainz go install github.com/rsenapps/nchainz
(from project root):
nchainz COMMAND [ARGS]
getbalance ADDRESS SYMBOL
order BUY_AMT BUY_SYMBOL SELL_AMT SELL_SYMBOL ADDRESS
transfer AMT SYMBOL FROM TO
freeze AMT SYMBOL FROM UNFREEZE_BLOCK
cancel SYMBOL ORDER_ID
claim AMT SYMBOL ADDRESS
create SYMBOL SUPPLY DECIMALS ADDRESS
printchain DB SYMBOL
The GNU Affero General Public License (see LICENSE)