- Clone the repository:
git clone https://github.com/permutize/kernel-network-test.git
cd kernel-network-test- Create a
.envfile in the root directory of the repository and set up the following variables:
RPC_URL="https://rpc"
BUNDLER_URL="https://bundler"
PRIVATE_KEY="abcdef0123"RPC_URL: This is the URL of the RPC node.BUNDLER_URL: This is the URL of the bundler node.PRIVATE_KEY: This is the private key of the account that will be used to send transactions (without the0xprefix).
- Install the required dependencies:
npm installTo run the network test script, execute the following command:
npm run devor:
npm run build
npm start