The NEO•ONE Playground showcases what’s possible with NEO•ONE.
This guide will walk you through getting started with the NEO•ONE Playground.
git clone https://github.com/neo-one-suite/neo-one-playground.git cd neo-one-playground yarn install
yarn neo-one build
This will start up a local network, compile the smart contracts located in the
one/contracts directory and publish them to your local network. Add
--watch to listen for changes to the smart contracts and trigger automatic recompilation and deployment.
This will open a browser window with the playground. Modify the files in the
src directory to get a feel for using the NEO•ONE client APIs.
Smart contract tests in the playground are written in Jest and are located in the
one/tests directory. Play around with them to see how easy it is to test smart contracts!