Truffle Boxes

To use most Truffle commands, you need to run them against an existing Truffle project. So the first step is to create a Truffle project.

You can create a bare project template, but for those just getting started, you can use Truffle Boxes, which are example applications and project templates.

RSK has its own specialized Truffle Boxes:

  • rsk-starter-box: this box comes with everything you need to start using smart contracts at RSK Network. It includes network configs for Mainnet, Testnet and the SimpleStorage contract as an example to deploy.
  • rsk-react-box: this box comes with everything you need to start using smart contracts from a react app on RSK Network.
  • rsk-next-box: in this box you’ll find a basic starter pack. It includes Truffle and Next JS.
  • rsk-react-express-box: In this box you’ll find a basic starter pack. It includes Truffle, React and Express JS.

Tutorials

  • rsk-starter-box: learn step-by-step how to use the Truffle box rsk-starter-box
  • rsk-pet-shop-box: this tutorial is a guide on how to use the petshop Truffle box, and on how to to deploy smart contracts to multiple networks (Regtest and Testnet).