Here's a sample GitHub project description for your TypeScript-based Solana transaction history tracker:
This project retrieves the transaction history for a given wallet address and token mint address on the Solana blockchain. It identifies and lists all transactions where the specified token is sent or received by the provided wallet address. The project is built using TypeScript and leverages Solana's blockchain data to provide accurate and up-to-date transaction information.
- Retrieve transaction history for any Solana wallet address and token mint address.
- Filter transactions to show only those involving the specified token.
- Display detailed information about each transaction, including the sender, receiver, amount, and timestamp.
- Built with TypeScript for strong type checking and improved developer experience.
-
Clone the repository:
git clone https://github.com/dappsol/token-transfer-history.git cd token-transfer-history
-
Install dependencies:
npm install
-
Configure your environment:
- Create a
.env
file in the root directory. - Add your Solana API endpoint and any other necessary configuration variables.
- Create a
-
Run the project:
npm start
-
Provide the wallet address and token mint address to retrieve the transaction history.
- Build:
npm run build
- Compiles the TypeScript code into JavaScript.
- TypeScript: For static type checking and better code quality.
- Solana Web3.js: For interacting with the Solana blockchain.
- Node.js: For server-side logic.
- Jest: For unit testing.
Contributions are welcome! Please submit a pull request or open an issue to discuss potential changes.
This project is licensed under the MIT License.
Feel free to customize this description further to better match your project's specifics.