Skip to content
 
 

Repository files navigation

Lightning Rod

Lightning Rod is the home of the Dapp Developer Kit (DDK) for Inco Lightning network.

Lightning Rod

Prerequisites

We require recent versions of

to be installed.

Build

Build the components with:

bun install

Local test network

To run a local test network, you need to have Docker installed. You can use the following command to start the network:

docker compose up

Running simple end-to-end test

This 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.

Testing a Confidential Smart Contract

An example of a simple confidential token using inco is provided in contracts/.
To test run:

bun i
cd contracts
forge test

About

Dapp Development Kit (DDK) for Inco Lightning

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages