Skip to content

oakcommunity/oakvault-app

Repository files navigation

Oak Vault Token Swap

This repository contains the front end for the Oak Vault Token Swap.

Overview

Allows users to swap between USDC and OAK tokens. It provides a seamless interface for users to approve, swap, and monitor their token balances.

Features

  • Token Approval: Before swapping, users can approve their USDC or OAK tokens.
  • Token Swapping: Users can swap between USDC and OAK tokens.
  • Balance Monitoring: Real-time monitoring of USDC and OAK token balances.
  • Notifications: Users receive notifications for approval and swap transactions.
  • Dynamic Swapping: Users can toggle between swapping out USDC or OAK.

Installation

  1. Clone the repository:
    git clone git@github.com:oakcommunity/oakvault-app.git
    cd oakvault-app
    npm install
    npm start
    

Usage

  • Connect your wallet.
  • Enter the amount of USDC or OAK you wish to swap.
  • Approve the tokens if required.
  • Confirm the swap transaction.

Dependencies

  • React
  • Formik: For form handling.
  • wagmi: For account and balance utilities.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT