This repository contains a Next.js application that provides an interface for 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, and add liquidity 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/tickertool.git
cd tickertool
npm install
# or
yarn install
Create a .env.local
file in the root directory and add the following variables:
GOOGLE_SHEET_ID=your-google-sheet-ID
GOOGLE_PRIVATE_KEY=your-google-cloud-console-private-key
GOOGLE_CLIENT_EMAIL=your-google-console-client-email
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. If you've already deployed the Ticker Token
contract using this interface, please create your own Ticker Swap interface, so other user can buy/sell your token.
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the application.
If you haven't deployed the Ticker Token
contract yet, you can do so directly from the app. Follow the instructions on the app, and once the contract is deployed, interact with it through the interface.
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