Lightning Rod is the home of the Dapp Developer Kit (DDK) for Inco Lightning network.
We require recent versions of
to be installed.
Build the components with:
bun installTo run a local test network, you need to have Docker installed. You can use the following command to start the network:
docker compose upThis test makes sure your local inco environment works properly.
You can run the incolite.local.e2e.test.ts and automatically boot the local test network with:
make test
This runs the docker compose setup forked in the background, you can stop it with
make down
Or if you prefer to watch things in a terminal, first run:
docker compose up
in one terminal, and:
cd test && bun run test:e2e
In another terminal.
An example of a simple confidential token using inco is provided in contracts/.
To test run:
bun i
cd contracts
forge test