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).
- 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.
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.
To get a local copy up and running, follow these steps:
git clone https://github.com/joebaeda/tickerswap.git
cd tickerswap
npm install
# or
yarn install
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.
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the application.
Contributions are welcome! Please fork this repository and submit a pull request for any features or improvements.
This project is licensed under the MIT License. See the LICENSE file for details.
Joe bae on Telegram
Joe bae on X Platform