CCTP Analytics is a TypeScript-based project designed to analyse CCTP Protocol Transaction between Solana and various EVM-compatible blockchains. The script parses transactions, calculates fees, and retrieves transaction details across multiple chains.
Ensure you have the following installed on your system:
- Node.js (v14 or higher)
- npm (v6 or higher)
-
Clone the repository:
git clone https://github.com/your-repo/cctp-analytics.git cd cctp-analytics -
Install the dependencies:
npm install
-
Create a
.envfile in the root directory and add the following environment variables:SOLANA_RPC_URL=<your_solana_rpc_url> ALCHEMY_API_KEY=<your_alchemy_api_key>
-
Compile the TypeScript code:
npm run build
-
Start the script:
npm start