### Running Solana gRPC Client Script via npm (bash) Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/making_a_grpc_connection/README.md Runs the main project script using the 'start' script defined in the package.json file. This is a common way to execute the primary application logic after dependencies are installed. ```bash npm run start ``` -------------------------------- ### Cloning Solana gRPC Project Repository (bash) Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/making_a_grpc_connection/README.md Provides the necessary bash commands to clone the Solana DeFi examples repository from GitHub and then navigate into the specific directory containing the TypeScript example for making a gRPC connection. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd general-grpc-examples/Typescript/making_a_grpc_connection ``` -------------------------------- ### Installing Project Dependencies (npm bash) Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/making_a_grpc_connection/README.md Executes the npm install command within the project directory to download and set up all required dependencies listed in the project's package.json file. This command is crucial before running the script. ```bash npm i ``` -------------------------------- ### Running Solana gRPC Client Script via npx (bash) Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/making_a_grpc_connection/README.md Executes the main TypeScript script directly using npx and ts-node, which compiles and runs TypeScript files on the fly without a separate build step. This provides an alternative way to start the application. ```bash npx ts-node index.ts ``` -------------------------------- ### Installing Project Dependencies - npm/Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_newly_added_pool_transactions/README.md This command uses npm (Node Package Manager) to install all required libraries and dependencies listed in the project's package.json file. Running this command is mandatory after cloning the repository to ensure the script has access to all necessary modules. ```bash npm i ``` -------------------------------- ### Installing Project Dependencies - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_multiple_token_market_activities/README.md This command installs all necessary project dependencies listed in the `package.json` file using npm. This is a required step before running the TypeScript script to ensure all required libraries are available. ```Bash npm i ``` -------------------------------- ### Running the Streaming Script (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_pool_transactions_for_token_pairs/README.md Executes the main script defined in the project's `package.json` using the `start` script command. This initiates the real-time streaming process to monitor DeFi pool transactions. Ensure dependencies are installed and the `.env` file is configured with necessary details before running this command. ```bash npm run start ``` -------------------------------- ### Running Solana Token Streaming Script - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_multiple_token_market_activities/README.md This command executes the start script defined in the project's `package.json` file. This initiates the process of streaming real-time Solana token market activity using Shyft gRPC. Ensure environment variables are set in the `.env` file before running. ```Bash npm run start ``` -------------------------------- ### Running Project Script Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_newly_added_pool_accounts/README.md This command executes the main script defined under the 'start' script in the 'package.json' file. This initiates the Raydium new pool streaming application. Requires dependencies to be installed and environment variables (e.g., API keys) to be configured in a '.env' file. ```bash npm run start ``` -------------------------------- ### Running Raydium Streaming Script - npm/Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_newly_added_pool_transactions/README.md This command executes the main Raydium streaming script using the predefined 'start' script within the project's package.json. It initiates the process of connecting to the gRPC service and streaming transactions for newly added Raydium pools. Ensure your environment variables are properly configured in the `.env` file before running. ```bash npm run start ``` -------------------------------- ### Cloning Repository and Navigating Directory (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/add_a_reconnect_mechanism/README.md Clones the 'solana-defi' repository from GitHub and changes the current directory to the 'add_a_reconnect_mechanism' example within the Typescript folder. This is the first step to setting up the project locally. Requires Git installed on your system. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd add_a_reconnect_mechanism/Typescript/add_a_reconnect_mechanism ``` -------------------------------- ### Installing Project Dependencies Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_newly_added_pool_accounts/README.md This command installs all necessary project dependencies listed in the 'package.json' file within the current directory. This is required before running the application. Requires Node.js and npm (or yarn/pnpm) to be installed. ```bash npm i ``` -------------------------------- ### Installing Project Dependencies (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_pool_transactions_for_token_pairs/README.md Installs the required Node.js packages for the project using npm. This command reads the project's `package.json` file and downloads dependencies, typically placing them in a `node_modules` folder, making necessary libraries available for the script. Requires Node.js and npm installed. ```bash npm i ``` -------------------------------- ### Run Application Start Script Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pump_fun_new_minted_tokens/README.md Executes the primary start script defined within the project's package.json file. This command typically launches the main application logic. Requires dependencies to be installed and the `.env` file to be configured. ```bash npm run start ``` -------------------------------- ### Install Solores CLI - Shell Source: https://github.com/shyft-to/solana-defi/blob/main/Orca/Rust/stream_and_parse_whirlpool_account_updates/parsers/whirlpool_interface/README.md This command uses the Rust package manager, Cargo, to download and install the `solores` CLI binary globally on your system. Requires a working Rust toolchain (including Cargo) to be installed beforehand. ```shell cargo install solores ``` -------------------------------- ### Cloning Raydium Bot Repository Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/monitor_new_pools_telegram_bot/README.md Clones the project repository from GitHub containing various Solana DeFi examples and navigates into the specific directory for the TypeScript-based Raydium new pool streaming bot using gRPC. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd -LiteralPath "Raydium/Typescript/[GRPC]New_Pool_Streaming_Account" ``` -------------------------------- ### Running the Main Script - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_txns_fetch_bonding_pool_liquidity/README.md Executes the main script defined by the `start` script in the project's `package.json`. This command initiates the process of streaming Pump.fun transactions and fetching liquidity. Requires dependencies to be installed and the `.env` file to be configured with necessary details (e.g., API keys). ```bash npm run start ``` -------------------------------- ### Running Project Script - npm Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_cpmm_new_pool/README.md Initiates the execution of the main project script using the npm start command, as defined in the package.json file's scripts section. Ensure dependencies are installed and the .env file is configured prior to running. ```bash npm run start ``` -------------------------------- ### Starting Raydium Bot Script Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/monitor_new_pools_telegram_bot/README.md Executes the main script to run the Raydium new pool streaming bot. Before running, ensure your environment details (like API keys) are configured in the `.env` file as noted in the documentation. ```bash npm run start ``` -------------------------------- ### Installing Node.js Dependencies Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/monitor_new_pools_telegram_bot/README.md Installs the required Node.js packages and libraries for the Raydium new pool streaming bot project using the npm package manager. This command should be executed within the project directory after cloning. ```bash npm i ``` -------------------------------- ### Running TypeScript Script (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/add_a_reconnect_mechanism/README.md Provides two alternative methods to execute the main Typescript script for the reconnect mechanism example. You can use the predefined 'npm run start' script or directly execute the 'index.ts' file using 'npx ts-node'. Requires Node.js, npm, and ts-node installed. ```bash # To run the script npm run start # or you can also use npx ts-node index.ts ``` -------------------------------- ### Installing Dependencies (npm/Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_launchpad_account/README.md This command uses the npm package manager to install all the necessary project dependencies defined in the project's package.json file. Running this ensures that all required libraries and modules are available for the project to compile and run correctly. ```Bash npm i ``` -------------------------------- ### Running the Example Script with npm - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/modifying_subscribe_request/README.md Run the main example script configured in the project's package.json file using the 'npm run start' command. Ensure the '.env' file is properly configured with required details before execution. ```bash npm run start ``` -------------------------------- ### Cloning Project Repository Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_newly_added_pool_accounts/README.md This command sequence clones the 'solana-defi' repository from GitHub and navigates into the specific directory containing the TypeScript project for Raydium new pool streaming via gRPC. Requires Git to be installed. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd -LiteralPath "Raydium/Typescript/[GRPC]New_Pool_Streaming_TXN" ``` -------------------------------- ### Installing Project Dependencies - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/real_time_token_price_marketcap_streaming/README.md This command installs all required project dependencies listed in the package.json file using npm, assuming npm is being used as the package manager for the project. ```bash npm i ``` -------------------------------- ### Installing Dependencies Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_pools_account/README.md This bash command is used to install the necessary project dependencies. It suggests using either 'npm i' or 'npm install', common commands for installing Node.js package dependencies listed in a project's package.json file. ```bash npm i or npm install ``` -------------------------------- ### Cloning Raydium GRPC Token Monitoring Repo - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_multiple_token_market_activities/README.md This command clones the Shyft-to/solana-defi GitHub repository and then changes the current directory to the specific project folder containing the TypeScript GRPC multiple token monitoring code, preparing the environment for setup. ```Bash git clone https://github.com/Shyft-to/solana-defi.git cd -LiteralPath "Raydium/Typescript/[GRPC]Multiple_Token_Monitoring" ``` -------------------------------- ### Running Solana Latency Checker via npm Script Source: https://github.com/shyft-to/solana-defi/blob/main/grpc-latency-checker/Typescript/grpc-latency-checker-ts/README.md Provides the command to start the Solana gRPC transaction latency checker application using a predefined npm script, typically found in the project's package.json file. This is the recommended way to run the application after setup. ```bash $ npm run start ``` -------------------------------- ### Starting Solana Latency Checker via npm script (Shell) Source: https://github.com/shyft-to/solana-defi/blob/main/grpc-latency-checker/Typescript/grpc-slot-based-latency-checker/README.md Executes the Solana latency checker application using the 'start' script defined in the project's package.json file. This is the standard and recommended method to launch the application after setting up the necessary environment variables. ```Shell $ npm run start ``` -------------------------------- ### Cloning Repository and Navigating Directory - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/real_time_token_price_marketcap_streaming/README.md This command sequence clones the specified GitHub repository containing the Solana DeFi projects and then navigates into the specific directory for the Raydium price update streaming example. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd -LiteralPath "Raydium/Typescript/[GRPC]Stream_Txn_priceupdate" ``` -------------------------------- ### Running Project Script npm Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_dlmm_accounts/README.md This command executes the project's main script as defined by the 'start' script in the `package.json` file using npm. It is the final step to initiate the real-time streaming and parsing process after dependencies are installed and the `.env` file is configured. ```bash npm run start ``` -------------------------------- ### Cloning Raydium Streaming Project - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_newly_added_pool_transactions/README.md This command sequence clones the Solana DeFi repository from GitHub, which contains the Raydium streaming script, and then navigates into the specific directory where the TypeScript gRPC script is located. This is the essential first step to obtain the project source code. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd -LiteralPath "Raydium/Typescript/[GRPC]RaydiumOldPool" ``` -------------------------------- ### Running the Streaming Script (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_cpmm_transactions_and_detect_buy_sell_events/README.md Executes the npm script named "start" as defined in the project's package.json file. This command initiates the main application logic for streaming and processing Raydium CPMM transactions, requiring dependencies to be installed and the .env file configured. ```bash npm run start ``` -------------------------------- ### Installing Raydium Launchpad Streamer | sh Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_launchpad_transactions/README.md Clone the project repository from GitHub, navigate into the project directory, and install necessary Node.js dependencies using npm. ```sh git clone https://github.com/Shyft-to/solana-defi.git cd stream_and_parse_raydium_launchpad_transactions npm install ``` -------------------------------- ### Cloning Project Repository and Navigating Directory (bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_clmm_transactions/README.md This snippet provides the necessary shell commands to retrieve the project source code from GitHub and change the current directory to the specific example location for Raydium CLMM transaction streaming. It requires `git` to be installed on the system. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd Raydium/Typescript/stream_and_parse_clmm_transactions ``` -------------------------------- ### Cloning Repository and Navigating Directory (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/streaming_pool_transactions_for_token_pairs/README.md Clones the Shyft Solana DeFi repository from GitHub and changes the current working directory to the specific location containing the gRPC DeFi activity script. This is the first step to obtain the project code. Requires Git to be installed on the system. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd -LiteralPath "Raydium/Typescript/[GRPC]defi_activity" ``` -------------------------------- ### Installing Project Dependencies - npm Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_cpmm_new_pool/README.md Executes the npm command to install all project dependencies listed in the package.json file. This step is required before running the main script. Assumes Node.js and npm are installed. ```bash npm i ``` -------------------------------- ### Installing Dependencies npm Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_dlmm_accounts/README.md This command installs all necessary project dependencies listed in the `package.json` file using npm (Node Package Manager). It requires npm to be installed on the system and should be run within the project directory after cloning. ```bash npm i or npm install ``` -------------------------------- ### Installing Dependencies - npm/Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Orca/Typescript/stream_and_parse_all_whirlpool_accounts/README.md This command uses the npm package manager to install all necessary project dependencies listed in the `package.json` file. It must be executed from the project's root directory after cloning the repository to set up the development environment. ```bash npm i ``` -------------------------------- ### Installing Project Dependencies Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pump_fun_transactions_and_detect_buy_sell_events/README.md Command to install the necessary libraries and packages required by the project using npm. This command must be run after cloning the repository to prepare the project for execution. ```bash # For example, if using npm npm i ``` -------------------------------- ### Installing Node.js Project Dependencies (npm, Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_all_raydium_transctions/README.md Installs all necessary project dependencies listed in the `package.json` file using the Node Package Manager (npm). This command must be executed from within the project directory where the `package.json` is located and requires Node.js and npm to be installed. ```Bash # For example, if using npm npm i ``` -------------------------------- ### Cloning the Repository (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_launchpad_account/README.md This command clones the Shyft-to/solana-defi GitHub repository to your local machine and then changes the current directory to the specific Raydium Launchpad streaming project folder within the repository. This is the first step to getting the project code. ```Bash git clone https://github.com/Shyft-to/solana-defi.git\ncd Raydium/Typescript/stream_and_parse_raydium_launchpad_account ``` -------------------------------- ### Running the Script with NPM - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_pools_transactions/README.md Command to execute the main project script using the npm 'start' command, which should be configured in the project's package.json to run the desired entry point. ```bash # To run the script npm run start ``` -------------------------------- ### Running the Raydium Stream Parser (npm/Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_launchpad_account/README.md This command executes the main script defined in the project's package.json under the "start" script key. This action initiates the Raydium Launchpad account streaming and parsing process using the configured gRPC connection and environment variables. ```Bash npm run start ``` -------------------------------- ### Installing Project Dependencies - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_cpmm_transactions/README.md This command installs the necessary project dependencies using npm (Node Package Manager). It should be run from within the project directory after cloning. Ensure Node.js and npm are installed beforehand. ```bash npm i ``` -------------------------------- ### Run Production Start Command - Shell Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/grpc-stream-and-parse-pump-fun-amm-transaction-instructions/README.md Shell command to start the built project using 'npm start'. This command typically runs the production-ready code generated by the build process. ```Shell npm start ``` -------------------------------- ### Cloning Project Repository and Navigating Directory - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_txns_fetch_bonding_pool_liquidity/README.md Clones the `solana-defi` repository from GitHub and navigates into the specific subdirectory `PumpFun/Typescript/pumpfun_liquidityDetails` containing the Pump.fun liquidity script. This command requires the Git command-line tool to be installed on your system. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd PumpFun/Typescript/pumpfun_liquidityDetails ``` -------------------------------- ### Starting Solana Latency Checker via ts-node (Shell) Source: https://github.com/shyft-to/solana-defi/blob/main/grpc-latency-checker/Typescript/grpc-slot-based-latency-checker/README.md Executes the main index.ts file directly using ts-node, which compiles and runs the TypeScript code on the fly. This provides an alternative way to run the application, useful for development or testing without a separate build step, provided ts-node is installed. ```Shell $ npx ts-node index.ts ``` -------------------------------- ### Install Project Dependencies Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pump_fun_new_minted_tokens/README.md Installs all necessary project dependencies listed in the package.json file using the npm package manager. Requires Node.js and npm to be installed on the system. ```bash npm i ``` -------------------------------- ### Running Project Script - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_token_price/README.md This command executes the 'start' script defined in the project's `package.json` file using npm. This typically launches the main application or script responsible for streaming the Pump.fun token prices. ```bash npm run start ``` -------------------------------- ### Running Project Start Script with npm (bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_clmm_transactions/README.md This command executes the primary startup script configured in the project's `package.json`. This script usually compiles and/or runs the main application code, initiating the Raydium CLMM transaction streaming and parsing process. It relies on `npm` and the presence of a defined `start` script. ```bash npm run start ``` -------------------------------- ### Installing Project Dependencies with npm (bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_clmm_transactions/README.md This command installs all necessary Node.js packages required for the project to run, based on the dependencies defined in the `package.json` file located in the current directory. It requires `npm` to be installed as part of the Node.js runtime environment. ```bash npm i ``` -------------------------------- ### Start the Project Application (sh) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_new_pool_pumpfun_amm_transactions/README.md Executes the standard npm command to start the main application process as defined in the project's `package.json` file. ```sh npm start ``` -------------------------------- ### Installing Project Dependencies - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_txns_fetch_bonding_pool_liquidity/README.md Installs the necessary Node.js packages for the project using npm. This command assumes npm is the package manager used; if using yarn or pnpm, replace `npm i` with the appropriate install command (`yarn` or `pnpm i`). Requires Node.js and npm to be installed. ```bash npm i ``` -------------------------------- ### Clone Repository and Install Dependencies - Shell Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/grpc-stream-and-parse-pump-fun-amm-transaction-instructions/README.md Commands to clone the project repository from GitHub, navigate into the directory, and install required Node.js dependencies using npm. Requires Git and Node.js/npm. ```Shell git clone https://github.com/impin2rex/stream-and-parse-pump-fun-amm-transaction-instructions-via-grpc.git cd stream-and-parse-pump-fun-amm-transaction-instructions-via-grpc npm install ``` -------------------------------- ### Installing Project Dependencies Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_all_raydium_accounts/README.md Shows the bash command to install the necessary project dependencies using npm, a standard package manager for Node.js and TypeScript projects. This fetches and installs all required libraries defined in the project's package.json file. ```bash npm i ``` -------------------------------- ### Installing Project Dependencies Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_to_raydium_migration_transactions/README.md This command installs the necessary project dependencies using npm. It assumes npm is being used as the package manager, as indicated by the comment. ```bash # For example, if using npm npm i ``` -------------------------------- ### Installing Node.js Dependencies (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_cpmm_transactions_and_detect_buy_sell_events/README.md Executes the npm install command within the project directory to download and set up all required Node.js packages listed in the project's package.json file. This is a mandatory step before running the application scripts. ```bash npm i ``` -------------------------------- ### Cloning Repository and Navigating - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Orca/Typescript/stream_and_parse_all_whirlpool_accounts/README.md This command sequence clones the project repository from GitHub and then changes the current directory to the specific example folder containing the Whirlpool streaming script. This is the first step to access the project files locally. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd Orca/Typescript/stream_and_parse_all_whirlpool_accounts ``` -------------------------------- ### Running Solana Streaming Script (Node.js, Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_all_raydium_transctions/README.md Provides two alternative methods to execute the main TypeScript streaming script (`index.ts`). The first uses `npm run start` to run a predefined script in `package.json`, and the second directly executes the file using `npx ts-node`. Both methods require Node.js and the necessary dependencies (including `ts-node` for the second method) to be installed. ```Bash # To run the script npm run start # or you can also use npx ts-node index.ts ``` -------------------------------- ### Installing Node.js Dependencies with npm (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/add_a_reconnect_mechanism/README.md Installs the project dependencies listed in the 'package.json' file using the npm package manager. This command fetches all necessary libraries required for the Typescript project to run. Requires Node.js and npm installed. ```bash # For example, if using npm npm i ``` -------------------------------- ### Installing Dependencies (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_dlmm_transactions/README.md Installs the project's required dependencies using the npm package manager. This command should be run from the project directory after cloning. ```bash npm i ``` -------------------------------- ### Cloning Repository and Navigating Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_all_raydium_accounts/README.md Provides the bash commands required to clone the project repository from GitHub and navigate into the specific Raydium TypeScript example directory. This is the initial step to obtain the project source code locally. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd Raydium/Typescript/stream_and_parse_all_raydium_accounts ``` -------------------------------- ### Example Environment Configuration - dotenv Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/grpc-stream-and-parse-pump-fun-amm-transaction-instructions/README.md Example content for the .env configuration file. It defines the gRPC endpoint for Shyft API and the authentication token required for access. Users must replace 'YOUR_AUTH_TOKEN' with their actual token. ```dotenv ENDPOINT=https://grpc.ams.shyft.to X_TOKEN=YOUR_AUTH_TOKEN ``` -------------------------------- ### Installing Project Dependencies (npm/Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_to_pumpfunAmm_migration_transactions/README.md This command uses the npm package manager to install all required libraries and dependencies listed in the project's package.json file. It's necessary to set up the project environment before running the script. ```Bash npm i ``` -------------------------------- ### Installing Dependencies - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_token_price/README.md This command uses npm, a package manager for Node.js, to install all required project dependencies listed in the `package.json` file. This is necessary before running the application. ```bash npm i ``` -------------------------------- ### Cloning Repository and Navigating Directory Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_dlmm_accounts/README.md This command clones the project repository from GitHub and then navigates into the specific project directory containing the script. This is the first step to set up the project locally before installing dependencies and running the code. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd Token/Typescript/stream_parse_meteora_dlmm_account ``` -------------------------------- ### Running Script Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_pools_account/README.md This bash command executes the main script for the project. It uses 'npm run start', which typically runs a predefined 'start' script command specified within the project's package.json file. ```bash npm run start ``` -------------------------------- ### Installing Node.js Dependencies (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_cpmm_accounts/README.md This command installs all required Node.js packages listed in the `package.json` file within the current directory. It is a standard step for setting up a Node.js or TypeScript project after cloning the repository and changing into the project directory. ```bash npm i ``` -------------------------------- ### Cloning Raydium CLMM Project Repository - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_clmm_accounts/README.md This command clones the specified GitHub repository containing the Solana DeFi examples and then navigates into the specific directory for the Raydium CLMM streaming project. This is the first step to set up the project locally. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd Raydium/Typescript/stream_and_parse_clmm_transactions ``` -------------------------------- ### Install Project Dependencies (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_clmm_new_pool/README.md This command uses npm to install all the required packages and libraries listed in the project's package.json file, preparing the environment for execution. ```bash # For example, if using npm npm i ``` -------------------------------- ### Installing Project Dependencies (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_and_parse_all_pump_fun_accounts/README.md Shows a bash command to install project dependencies using a package manager like npm. This step is necessary after cloning the repository to download and set up all required libraries and modules for the project to run correctly. ```bash # For example, if using npm npm i ``` -------------------------------- ### Installing Project Dependencies with npm - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/modifying_subscribe_request/README.md Execute this command in the project directory to install all necessary Node.js dependencies listed in the package.json file using npm. Either 'npm i' or 'npm install' can be used. ```bash npm i or npm install ``` -------------------------------- ### Installing Project Dependencies with npm - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_clmm_transactions_and_detect_buy_sell_events/README.md Command to install the necessary dependencies for the project using npm. This step is essential after cloning the repository to ensure all required packages are available before running the script. ```bash # For example, if using npm npm i ``` -------------------------------- ### Running the Migration Tracker Script Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_to_raydium_migration_transactions/README.md This command executes the start script defined in the package.json file (typical for npm projects), which initiates the real-time token migration tracking process. ```bash # To run the script npm run start ``` -------------------------------- ### Installing Dependencies with NPM - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_pools_transactions/README.md Command to install project dependencies using npm, assuming npm is the package manager specified in the project's package.json file. ```bash # For example, if using npm npm i ``` -------------------------------- ### Installing Project Dependencies (bash) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_completed_bonding_curve/README.md Installs all necessary dependencies for the project defined in the 'package.json' file using npm. This command must be run from the project's root directory after cloning the repository. ```bash npm i ``` -------------------------------- ### Clone and Install Project Dependencies (sh) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_new_pool_pumpfun_amm_transactions/README.md Provides the necessary shell commands to clone the project repository from GitHub, navigate into the project directory, and install its Node.js dependencies using npm. ```sh git clone https://github.com/Shyft-to/solana-defi.git cd stream_new_pool_pumpfun_amm_transactions npm install ``` -------------------------------- ### Install Dependencies NPM Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Orca/Typescript/stream_and_parse_whirlpool_transactions/README.md Installs the necessary project dependencies listed in the package.json file using the npm package manager. ```Bash npm i ``` -------------------------------- ### Running the Project Script (bash) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_completed_bonding_curve/README.md Executes the 'start' script defined in the project's 'package.json' file using npm. This command typically launches the main application or streaming script. Ensure environment details are configured in the '.env' file before running. ```bash npm run start ``` -------------------------------- ### Running Project Script - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_cpmm_transactions/README.md This command executes the main script of the project using npm. It assumes the script is configured as a 'start' script in the package.json file. This command initiates the streaming and parsing process. ```bash npm run start ``` -------------------------------- ### Installing Project Dependencies with npm (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_bonding_curve_progress/README.md This command installs the necessary project dependencies listed in the package.json file using the npm package manager. It is required before running the script. ```bash # For example, if using npm npm i ``` -------------------------------- ### Installing Dependencies via npm Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_and_parse_pump_fun_transactions/README.md This command installs all necessary project dependencies listed in the package.json file. It assumes npm is used as the package manager. This is a standard step after cloning a Node.js/TypeScript project. ```bash npm i ``` -------------------------------- ### Running Built Project | sh Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_launchpad_transactions/README.md Use the npm script to start the compiled or built version of the project, typically used to launch the application in a production or staging environment after the build process is complete. ```sh npm start ``` -------------------------------- ### Example .env Configuration File (dotenv) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_new_pool_pumpfun_amm_transactions/README.md Illustrates the required structure for the project's configuration file (`.env`). It specifies where to define the gRPC endpoint URL and the necessary authentication token. ```dotenv GRPC_URL= GRPC_URL X_TOKEN= YOUR_AUTH_TOKEN ``` -------------------------------- ### Installing Raydium Stream Dependencies - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_raydium_amm_transactions_and_detect_buy_sell_events/README.md This command installs the necessary Node.js package dependencies for the Raydium stream project using npm. This is required before running the script. ```Bash npm i ``` -------------------------------- ### Installing Node.js Dependencies - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_clmm_accounts/README.md This command uses npm to install all required Node.js packages and dependencies listed in the project's package.json file. This step is essential before attempting to run the main script. ```bash npm i ``` -------------------------------- ### Installing Dependencies - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/grpc-stream-and-parse-pump-fun-amm-account/README.md This command uses npm (Node Package Manager) to install all the necessary project dependencies listed in the `package.json` file. This step is crucial to ensure that all required libraries and modules are available before running the project code. ```bash npm i ``` -------------------------------- ### Running the Monitoring Script with npm (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_bonding_curve_progress/README.md This command executes the main script configured in the package.json's 'start' script. Ensure environment variables are configured in a `.env` file before running. ```bash # To run the script npm run start ``` -------------------------------- ### Run Project Script NPM Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Orca/Typescript/stream_and_parse_whirlpool_transactions/README.md Executes the main project script defined by the 'start' script in the package.json file using npm. ```Bash npm run start ``` -------------------------------- ### Running Rust Example Script (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Rust/modifying_subscribe_request/README.md This command executes the Rust project found in the current directory using `cargo run`. It requires specifying the gRPC endpoint and a gRPC token as command-line arguments to connect to the Shyft gRPC service. ```Bash # For example,\ncargo run -- --endpoint --x-token ``` -------------------------------- ### Running the Script - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/grpc-stream-and-parse-pump-fun-amm-account/README.md This command executes the main script defined by the 'start' script in the project's `package.json`. It initiates the process of streaming and parsing Pumpfun AMM account updates as outlined in the project description. Ensure environment variables are configured beforehand in the `.env` file. ```bash npm run start ``` -------------------------------- ### Running Rust Project with Arguments Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Rust/stream_and_parse_meteora_pools_instructions/README.md This command line snippet demonstrates how to run the compiled Rust project using `cargo run`. It specifies the necessary command-line arguments `--endpoint` for the gRPC service address and `--x-token` for providing an authentication token, allowing the application to connect and start streaming transaction data. ```Shell $ cargo run -- --endpoint --x-token ``` -------------------------------- ### Cloning Project Repository - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_cpmm_new_pool/README.md Provides the necessary bash commands to clone the project repository from GitHub and navigate into the specific directory containing the Raydium CPMM streaming script. Requires Git to be installed and available in the system's PATH. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd Raydium/Typescript/stream_and_parse_cpmm_new_pool ``` -------------------------------- ### Cloning Raydium Streaming Project (Git, Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_all_raydium_transctions/README.md Uses Git to clone the `solana-defi` repository from GitHub and then changes the current directory to the specific `Raydium/Typescript/[GRPC]Streaming_all_Transaction` folder within the cloned repository. Requires Git to be installed on the system to execute these commands successfully. ```Bash git clone https://github.com/Shyft-to/solana-defi.git cd Raydium/Typescript/[GRPC]Streaming_all_Transaction ``` -------------------------------- ### Clone Project and Navigate Directory Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Orca/Typescript/stream_and_parse_whirlpool_transactions/README.md Clones the specified GitHub repository containing Solana DeFi projects and navigates into the specific subdirectory for the Orca Whirlpool streaming and parsing example. ```Bash git clone https://github.com/Shyft-to/solana-defi.git cd Orca/Typescript/stream_and_parse_whirlpool_transactions ``` -------------------------------- ### Cloning Solana DeFi Repository (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_and_parse_all_pump_fun_accounts/README.md Provides bash commands to clone the `solana-defi` repository from GitHub and change the directory to the specific PumpFun TypeScript project folder. This is a prerequisite step to set up the project locally before installing dependencies or running the script. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd PumpFun/Typescript/stream_and_parse_all_pump_fun_accounts ``` -------------------------------- ### Cloning Repository for Meteora DLMM Stream (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_dlmm_transactions/README.md Clones the project repository from GitHub and changes the current directory to the specific example location where the streaming and parsing script resides. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd PumpFun/Typescript/stream_and_parse_meteora_dlmm_instructions ``` -------------------------------- ### Cloning the Solana DeFi Repository Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_and_parse_pump_fun_transactions/README.md This command sequence is used to clone the project repository from GitHub and navigate into the specific directory for streaming and parsing Pump.fun transactions within the TypeScript examples. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd PumpFun/Typescript/stream_and_parse_pump_fun_transactions ``` -------------------------------- ### Cloning Raydium Account Streamer Repo (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_cpmm_accounts/README.md This command sequence clones the specified GitHub repository containing the Solana DeFi projects and then navigates into the specific directory for the Raydium CP accounts streaming and parsing project. It prepares the environment for installing dependencies and running the script. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd Raydium/Typescript/stream_and_parse_cp_accounts ``` -------------------------------- ### Cloning Pumpfun Stream Project Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pump_fun_transactions_and_detect_buy_sell_events/README.md Commands to download the project source code from GitHub and change the current directory to the project's specific folder for the PumpFun streamer. This is the initial step for setting up the development environment before installing dependencies. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd PumpFun/Typescript/stream-pump-fun-transactions-and-detect-buy-sell-events ``` -------------------------------- ### Running Raydium Transaction Streamer Script - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_clmm_transactions_and_detect_buy_sell_events/README.md Command to execute the main project script using `npm run start`. This command initiates the real-time streaming and parsing of Raydium CLMM transactions. ```bash # To run the script npm run start ``` -------------------------------- ### Run the Stream and Parse Script (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_clmm_new_pool/README.md This command executes the main script of the project, typically defined by the 'start' script in package.json, initiating the gRPC stream and transaction parsing process. ```bash # To run the script npm run start ``` -------------------------------- ### Run Development Watch Command - Shell Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/grpc-stream-and-parse-pump-fun-amm-transaction-instructions/README.md Shell command to start the project in development mode using 'npm run watch'. This typically compiles code and restarts the server automatically on file changes. ```Shell npm run watch ``` -------------------------------- ### Starting Raydium Stream Parser - Shell Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Rust/Stream_and_parse_raydium_transactions/README.md Command to run the compiled Rust application for streaming Raydium transactions. Requires a gRPC endpoint and an API token as command-line arguments. ```Shell $ cargo run -- --endpoint --x-token ``` -------------------------------- ### Running Raydium CLMM Streaming Script - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_clmm_accounts/README.md This command executes the main script defined as the 'start' script in the project's package.json file. It initiates the process of streaming and parsing Raydium CLMM transactions using the configured gRPC connection. ```bash npm run start ``` -------------------------------- ### Cloning Repository and Navigating Directory - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Typescript/modifying_subscribe_request/README.md Use these commands to clone the Shyft-to/solana-defi GitHub repository and change the current directory to the specific example folder for modifying subscribe requests. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd general_grpc_examples/Typescript/modifying_subscribe_request ``` -------------------------------- ### Running Raydium Account Streamer Script (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_cpmm_accounts/README.md This command executes the 'start' script defined in the project's `package.json` file using npm. Typically, this script handles compilation (if needed) and execution of the main application file, initiating the real-time streaming and parsing process. ```bash npm run start ``` -------------------------------- ### Cloning and Navigating Project Directory (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_cpmm_transactions_and_detect_buy_sell_events/README.md Provides the necessary bash commands to clone the project repository from GitHub and change the current directory into the specific Raydium CPMM streaming project folder. This is the initial step after setting up prerequisites. ```bash git clone https://github.com/Shyft-to/solana-defi.git ``` ```bash cd Raydium/Typescript/stream_and_parse_raydium_cpmm_transactions_and_detect_buy_sell_events ``` -------------------------------- ### Running the Stream and Parse Script (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/Meteora/Typescript/stream_and_parse_meteora_dlmm_transactions/README.md Executes the main script responsible for streaming and parsing Meteora DLMM transactions using the npm 'start' command. Ensure environment details are configured in the .env file before running. ```bash npm run start ``` -------------------------------- ### Running Raydium Stream Script - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_raydium_amm_transactions_and_detect_buy_sell_events/README.md This command executes the main script for the Raydium transaction stream project using npm. Ensure dependencies are installed and the `.env` file is configured beforehand. ```Bash npm run start ``` -------------------------------- ### Cloning Repository and Navigating Directory (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/general-grpc-examples/Rust/modifying_subscribe_request/README.md This command sequence clones the Shyft Solana DeFi repository from GitHub and changes the current directory to the specific Rust example for modifying subscribe requests. This is the first step to acquire the necessary code for the tutorial. ```Bash git clone https://github.com/Shyft-to/solana-defi.git\ncd Token/Rust/modifying_subscribe_request ``` -------------------------------- ### Running Pump.fun Streaming Script (Bash) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_and_parse_all_pump_fun_accounts/README.md Provides bash commands to execute the main script responsible for streaming and parsing Pump.fun account updates. It offers two alternative commands: `npm run start` or directly running the TypeScript file using `npx ts-node index.ts`. This initiates the core functionality of the project. ```bash # To run the script npm run start # or you can also use npx ts-node index.ts ``` -------------------------------- ### Running the Transaction Streaming Script Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_and_parse_pump_fun_transactions/README.md These commands demonstrate how to execute the main script responsible for streaming and parsing Pump.fun transactions. The first command uses the predefined 'start' script alias from package.json, while the second directly runs the TypeScript file using ts-node. ```bash npm run start ``` ```bash npx ts-node index.ts ``` -------------------------------- ### Running Project in Development Watch Mode | sh Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_launchpad_transactions/README.md Execute the npm script to start the project in watch mode, typically used during development for automatic code recompilation or server restarts upon file changes. This allows for rapid iteration. ```sh npm run watch ``` -------------------------------- ### Executing Shyft gRPC Streamer (Rust Command) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Rust/token_migration_using_account_updates/README.md This command executes the Rust project responsible for streaming Pumpfun account updates via Shyft gRPC. It requires specifying the gRPC endpoint, an access token for authentication, and a Solana RPC URL to fetch additional transaction details if needed. This command starts the streaming process. ```Shell $ cargo run -- --endpoint --x-token --rpc-url ``` -------------------------------- ### Running Application with Cargo Command (Shell) Source: https://github.com/shyft-to/solana-defi/blob/main/Orca/Rust/stream_and_parse_whirlpool_account_updates/README.md This command executes the Rust application using Cargo. It requires specifying the gRPC endpoint URL via the `--endpoint` flag and an API token via the `--x-token` flag for authentication or service access. This is the primary way to start the streaming and parsing process. ```shell $ cargo run -- --endpoint --x-token ``` -------------------------------- ### Run Project in Watch Mode (sh) Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_new_pool_pumpfun_amm_transactions/README.md Executes the command to start the project in development 'watch' mode using npm. This mode typically monitors file changes and automatically recompiles or restarts the application. ```sh npm run watch ``` -------------------------------- ### Running the Streaming Script - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/real_time_token_price_marketcap_streaming/README.md This command executes the main script configured in the package.json file using npm. It initiates the real-time price and market cap streaming process. Ensure that environment variables are configured in a .env file before running. ```bash npm run start ``` -------------------------------- ### Executing Rust App with CLI Args - Shell Source: https://github.com/shyft-to/solana-defi/blob/main/Orca/Rust/stream_and_parse_whirlpool_transactions/README.md This command executes the Rust application using `cargo run`. It passes two command-line arguments (`--endpoint` and `--x-token`) to the application itself (after the `--`). The `` should be replaced with the gRPC service URL, and `` with the required authentication token. ```Shell $ cargo run -- --endpoint --x-token ``` -------------------------------- ### Running Streaming Script - npm/Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Orca/Typescript/stream_and_parse_all_whirlpool_accounts/README.md These commands execute the main TypeScript script responsible for connecting to the gRPC endpoint, streaming Whirlpool account updates, and parsing them. You can use either `npm run start` (if configured) or `npx ts-node index.ts`. Ensure the `.env` file is configured before running. ```bash npm run start ``` ```bash npx ts-node index.ts ``` -------------------------------- ### Running Pumpfun Stream Script Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pump_fun_transactions_and_detect_buy_sell_events/README.md Command to execute the main script of the project, typically defined in the `package.json` file's scripts section. This starts the process of streaming and parsing PumpFun transactions to detect buy and sell events. ```bash # To run the script npm run start ``` -------------------------------- ### Running Raydium Monitor Application (Shell) Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Rust/Streaming_realtime_pool_activity/README.md This command executes the Rust application using `cargo run` to start monitoring a specific Raydium pool via gRPC. It requires providing the gRPC service endpoint, a valid authentication token, and the Raydium pool address to subscribe to. ```Shell cargo run -- --endpoint https://grpc.ny.shyft.to --x-token --address
``` -------------------------------- ### Running the Streaming Script Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_all_raydium_accounts/README.md Provides the bash commands to execute the main TypeScript script responsible for streaming and parsing Raydium account updates. It offers two methods: using npm's start script or directly executing the TypeScript file with npx ts-node. ```bash npm run start # or you can also use npx ts-node index.ts ``` -------------------------------- ### Configuring Environment Variables | dotenv Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_launchpad_transactions/README.md Create a `.env` file to configure the gRPC URL for the Shyft service and provide your authentication token (`X_TOKEN`) for accessing the API. Replace `YOUR_AUTH_TOKEN` with your actual token. ```dotenv GRPC_URL=https://grpc.ams.shyft.to X_TOKEN=YOUR_AUTH_TOKEN ``` -------------------------------- ### Building Project for Production | sh Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_and_parse_raydium_launchpad_transactions/README.md Run the npm script to build the project, preparing the code for deployment or production usage by compiling, bundling, and optimizing files. This step generates the final executable code. ```sh npm run build ``` -------------------------------- ### Cloning Repository and Navigating Directory - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_token_price/README.md This command sequence clones the specified GitHub repository containing Solana DeFi projects and then changes the current directory to the PumpFun price streaming project written in Typescript. This is the initial step to set up the project locally. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd PumpFun/Typescript/stream_pumpfun_token_price ``` -------------------------------- ### Cloning Repository and Changing Directory Bash Source: https://github.com/shyft-to/solana-defi/blob/main/PumpFun/Typescript/stream_pumpfun_to_raydium_migration_transactions/README.md This command sequence clones the specified GitHub repository containing the Solana DeFi projects and then navigates into the specific directory for the Pump.fun to Raydium migration tracker. ```bash git clone https://github.com/Shyft-to/solana-defi.git cd PumpFun/Typescript/pumpfun-raydium-migration-transactions ``` -------------------------------- ### Cloning and Navigating Raydium Stream Project - Bash Source: https://github.com/shyft-to/solana-defi/blob/main/Raydium/Typescript/stream_raydium_amm_transactions_and_detect_buy_sell_events/README.md This snippet shows how to clone the Shyft-to/solana-defi repository from GitHub and then navigate into the specific directory containing the Raydium stream project using Bash commands. ```Bash git clone https://github.com/Shyft-to/solana-defi.git cd Raydium/Typescript/stream_raydium_amm_transactions_and_detect_buy_sell_events ```