Skip to content

ayo-klaytn/mini-klayswap-example

Repository files navigation

MiniKLAYswap DApp

This is a DApp that allows users to swap tokens either from native(KLAY) to tokens (sKAI) or tokens (sKAI) to native (KLAY). This DApp is built using Solidity, Next.js and Thirdweb.

Installation

To install and run this application locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/ayo-klaytn/mini-klayswap-example.git
  1. Navigate to the project directory:
cd mini-klayswap-example
  1. Install the dependencies:
npm install
  1. Start the development server:
npm run dev

Environment Variables

To run this project, you will need to add environment variables. rename the .env.example file for all the environment variables required to .env file.

Learn More

To learn more about Klaytn, thirdweb and Next.js, take a look at the following resources:

About

How to build a minimalistic frontend that interacts with the KLAYswap contract using Next.js and Thirdweb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published