π»Development Setup
Welcome! This section contains everything a developer needs to start working with Kinto.
1. Setup your favorite tool
Kinto supports Foundry, Hardhat, and Truffe. You can pick one and follow the instructions in this section to install it.
The rest of this guide assumes Foundry.
2. Clone the repo
To start, execute git clone our main repository kinto-core (aa branch).
3. Run the tests
Make sure that foundry CLI is installed and run the following:
4. Setup your env file
Set your .env variables next:
Fill (at least) the following variables:
5. Setting up a remote chain (optional)
You can develop using forge tests directly.
When you are ready to test things in a natural environment, we recommend using Anvil to fork mainnet and work against it.
More information about the complete process can be found on the repositories README.
Copy your local fork URL and override KINTO_RPC_URL with your fork.
6. Create a Kinto Wallet
This is only needed if you don't have a wallet and Kinto ID already.
This script is meant to be used on your local fork. If you are using mainnet, you must head to https://engen.kinto.xyz to KYC and create a Kinto Wallet.
Execute our test wallet script:
You can find more information about the deploy wallet script here.
7. Deploy a simple Counter Contract
Execute our deploy counter script:
Ready to develop
Congratulations! You are ready to deploy contracts and send transactions in the Kinto network.
You can check our Smart Contract API to leverage all the KYC/AML and Account Abstraction functionalities available on Kinto.
Last updated