Skip to content

This interface is specifically only for token that created using ticker tool.

License

Notifications You must be signed in to change notification settings

joebaeda/tickerswap

Repository files navigation

Ticker Swap Interface - Create and Swap ERC20 Tokens with built-in AMM

This repository contains a Next.js application that provides an interface for swap, deploying and interacting with the Ticker Token smart contract, a custom ERC-20 token with a built-in Automated Market Maker (AMM).

Features

  • Deploy the Ticker Token Contract: Easily deploy your own instance of the Ticker Token contract.
  • Interact with the Contract: Swap ETH for tokens and tokens for ETH directly from the UI.
  • Next.js & Ethers.js Integration: Leverage the power of Next.js for SSR and the simplicity of Ethers.js for interacting with Ethereum.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js (v20.x or later)
  • npm or yarn
  • MetaMask or any other Ethereum wallet extension installed in your browser.

Getting Started

To get a local copy up and running, follow these steps:

1. Clone the Repository

git clone https://github.com/joebaeda/tickerswap.git
cd tickerswap

2. Install Dependencies

npm install
# or
yarn install

3. Set Up Environment Variables

Create a .env.local file in the root directory and add the following variables:

GOOGLE_SERVICE_ACCOUNT_KEY=your-google-console-key
GOOGLE_SPREADSHEET_ID=your-google-spreadsheet-id
NEXT_PUBLIC_TELEGRAM_BOT_TOKEN=your-telegram-bot-token
NEXT_PUBLIC_TELEGRAM_CHAT_ID=your-telegram-chat-id
NEXT_PUBLIC_PINATA_GATEAWAY=your-pinata-gateway
PINATA_API_KEY=your-pinata-api-key
PINATA_SECRET_API_KEY=your-pinata-secret-key
PINATA_JWT=your-pinata-jwt

Replace all value with your own.

4. Run the Development Server

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the application.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any features or improvements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

Joe bae on Telegram

Joe bae on X Platform

About

This interface is specifically only for token that created using ticker tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages