Prerequisites

Before you begin, make sure you have:

  • Bun installed (you can also chose to use node + npm or equivalent)
  • Docker installed
  • Foundry installed
  • Basic knowledge of Solidity and JavaScript/TypeScript

1-minute setup

We recommend getting started using our template.

  1. Clone the repository:

    git clone git@github.com:Inco-fhevm/lightning-rod.git
    cd lightning-rod
    

    Note that you can also clone the repository using HTTPS:

    git clone https://github.com/Inco-fhevm/lightning-rod
    cd lightning-rod
    
  2. Install dependencies:

    bun install
    
  3. Compile contracts and test:

    bun run test
    
  4. Finally, stop the docker containers which were started for the test:

    docker compose down
    

See README.md for other options on how to run the local development environment.

Next Steps

If you are using Inco for the first time we recommend following our guide of basics, or you can learn from example.