Skip to content

Repository files navigation

Ckash_template

Ckash template — a template that showcases how dApps should be built inside the Ckash wallet, as well as for developers testing their dApps.

Table of Contents


Installation

git clone https://github.com/Ronexlemon/Ckash_template.git
cd Ckash_template
yarn install

Usage

yarn dev
# or
npm run dev

Airdrop system

  1. Compile the Solidity contracts:
npm run compile
  1. Deploy the mock token and airdrop contract:
npm run deploy:token
npm run deploy:airdrop
  1. Set the contract addresses in your environment:
NEXT_PUBLIC_AIRDROP_CONTRACT=0x...
  1. Create and execute airdrops from the organiser dashboard for verified attendees.

Testing

  1. Once running on localhost, forward the port using ngrok:
ngrok http 3000
  1. Navigate to Settings → About → Test App and paste the forwarded URL.
  2. Your dApp will open automatically.

Supported Chains

  • Celo Sepolia
  • Base Sepolia
  • Arbitrum Sepolia
  • Polygon Amoy

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create your branch: git checkout -b feature/my-feature
  3. Commit your changes: git commit -m 'Add my feature'
  4. Push to the branch: git push origin feature/my-feature
  5. Open a Pull Request

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages