Skip to content

🧪 An open-source, comprehensive starter kit for building decentralized applications (dApps) on the LUKSO blockchain using React Native and Foundry/Hardhat. This kit streamlines the process for developers, offering an efficient way to create, deploy, and interact with smart contracts while building intuitive user interfaces.

License

Notifications You must be signed in to change notification settings

tantodefi/kitso

 
 

Repository files navigation

contract debugger

Kitso

🧪 An open-source, comprehensive starter kit for building decentralized applications (dApps) on the LUKSO blockchain using React Native and Foundry/Hardhat. This kit streamlines the process for developers, offering an efficient way to create, deploy, and interact with smart contracts while building intuitive user interfaces.

⚙️ Built using React Native, Hardhat, Wagmi, Viem, and Typescript.

  • 💳 In-Built Wallet: A secure crypto wallet to manage funds, and sign transactions on LUKSO, providing a seamless and intuitive mobile experience for LUKSO users.

  • Contract Hot Reload: Automatically updates the frontend to reflect real-time changes in smart contracts deployed on LUKSO, reducing downtime and speeding up the development process.

  • 🛠️ Contract Debugger: A powerful tool to debug smart contracts on LUKSO, ensuring they function as expected before deployment.

  • 🪝 Custom Hooks: A collection of TypeScript-enabled React hooks to simplify interactions with LUKSO smart contracts, enabling developers to write cleaner, more efficient code.

  • 🧱 Components: Pre-built web3 components tailored for LUKSO, allowing developers to quickly assemble user interfaces and focus more on functionality rather than building from scratch.

Contract Debugger

Requirements

Before you begin, you need to install the following tools:

Quickstart

To get started with Kitso, follow the steps below:

  1. Clone this repo & install dependencies
git clone https://github.com/ValentineCodes/kitso.git

cd kitso

yarn install && yarn patch-ethers

yarn pod-install

Remember to run yarn patch-ethers to patch ethers after installing any package

  1. Connect your device to your computer via WIFI-HOTSPOT

  2. Run a local network in the first terminal

yarn chain

This command starts a local Ethereum network hosted on your local IP address. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in hardhat.config.ts.

  1. On a second terminal, deploy the test contract:
yarn deploy

This command deploys a test smart contract to the local network. The contract is located in packages/hardhat/contracts and can be modified to suit your needs. The yarn deploy command uses the deploy script located in packages/hardhat/deploy to deploy the contract to the network. You can also customize the deploy script.

  1. Set the ALCHEMY_KEY and LOCAL_PROVIDER(port 8545) variables in packages/reactnative/src/utils/constants.ts

To determine your local IP address:

Mac:

ipconfig getifaddr en0

Windows:

ipconfig
  1. Connect your device via USB or Run an emulator

  2. Run on device:

Android

yarn android

IOS

yarn ios
  1. Import one of the funded accounts in your local blockchain into your wallet to have funds for testing

You can interact with your smart contract using the Debug Contracts tab. You can tweak the app config in packages/reactnative/scaffold.config.ts.

Run smart contract test with yarn hardhat:test

  • Edit your smart contract YourContract.sol in packages/hardhat/contracts
  • Edit your frontend in packages/reactnative/src/screens
  • Edit your deployment scripts in packages/hardhat/deploy

Contributing to Kitso

We welcome contributions to Kitso!

Please see CONTRIBUTING.MD for more information and guidelines for contributing to Kitso.

About

🧪 An open-source, comprehensive starter kit for building decentralized applications (dApps) on the LUKSO blockchain using React Native and Foundry/Hardhat. This kit streamlines the process for developers, offering an efficient way to create, deploy, and interact with smart contracts while building intuitive user interfaces.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.4%
  • Java 2.6%
  • JavaScript 1.0%
  • Solidity 0.9%
  • Ruby 0.8%
  • Objective-C 0.8%
  • Other 0.5%