PandaCash is an utility tool that allows a quickly fire up of a personal Bitcoin Cash blockchain which you can use to run tests, execute commands and control how the chain operates.

You can make calls to the Bitcoin Cash blockchain without the overheads of running an actual Bitcoin Cash node. Addresses can be re-cycled, reset and instantiated with a fixed amount of Bitcoin Cash (no need for faucets or mining). Debug logs are displayed by default. Not all of these features are yet supported, but this is the vision for the future.

PandaCash — Ganache-like tool for Bitcoin Cash

But why is it important?

Better utility tooling will attract more application developers

Application Developers + Bitcoin Cash = Adoption + More use-cases + Faster community growth

Spend more time building user applications than dev-ops

It’s a simple equation: Less time needed for bitcoin cash application development = less costs.

Make your application testing more consistent and your application more secure and less buggy

You develop a new application and you want it tested. With PandaCash you have the opportunity to reset your blockchain and start from scratch with the same test data. The outcome is better security and less bugs.

Usability — instant personal blockchain

The only thing you need to start working on Bitcoin Cash applications with PandaCash is a Docker container and NodeJS installed. The personal blockchain can be started from a command line tool simply with:

# if npm or docker are not installed:

sudo apt-get install npm docker

sudo npm install -g # in most cases you'll need sudo for global installationsudo npm install -g pandacash-cli pandacash-cli

PandaCash is fully documented at https://panda-suite.github.io/.

Secret sauce under the hood

PandaCash consists of Docker container running bitcoin client (Bitcoin ABC). The node is executed in the regtest mode so it does not need to sync up the entire blockchain. It also integrates BitboxSDK which connects to the local client and exposes the access to the bitcoin client over a RESTful API. The package ships with block explorer so you can explore all blocks and transactions to gain insight about what’s happening under the hood.

Challenges and todo’s

Bitcoin.com Cloud API currently does not work with a bitcoin clients running locally. It can only work with the the main- and test net. We forked the Bitcoin.com Official’s API implementation to our PandaSuite in order to make it work with local RPC calls. Bitbox JS SDK requires conversion to TypeScript so that the interfaces for Accounts, Transactions etc. can easily accessed and to facilitate more robust development. Separate Docker Image containing all pre-build dependencies for platform abstraction and quicker installation times. Support for many bitcoin clients. We support currently Bitcoin Unlimited and Bitcoin ABC. Wormhole protocol will be supported in the future.

Contribute

A Proof of Concept for PandaCash has been created during BCH Devcon in Amsterdam on 27–28.10.2018 by Adrian Barwicki, Rosco Kalis, Bryan Lee-A-Leong and Nikolay Manolov. Die Kosten

EDIT: PandaCash actually won the main prize of the BCH DEVCON Amsterdam!