Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

CashScript Playground

The CashScript Playground is a way to write CashScript contracts and immediately interact with them in the browser. It is inspired by Ethereum's Remix, but slightly less feature-rich.

In the left panel you can write CashScript contracts and comple them. After compiling, a form is generated to create a new instance of this CashScript contract. It will then display some information about the contract and generate new forms to call contract functions to send BCH transactions.

A live demo is available at


No special transaction options (such as OP_RETURN or hardcoded fees) are supported by the playground, and only one single transaction output can be specified for the transaction sending. The CashScript Playground is not meant to be the main solution to write and use CashScript contracts, but instead is is meant to be a quick and easy way to try it out.

The CashScript Playground is connected to the Bitcoin Cash mainnet, but keep in mind that this is experimental software and be sure to not send large amounts of money to contracts generated by the CashScript Playground.



Running locally

git clone
cd cashscript-playground
yarn start