|
@@ -12,8 +12,8 @@ In order to run the script you need to:
|
|
- Transfer some SOL to it.
|
|
- Transfer some SOL to it.
|
|
- Convert some SOL to USDC.
|
|
- Convert some SOL to USDC.
|
|
- We need USDC because the script is buying USDC pairs.
|
|
- We need USDC because the script is buying USDC pairs.
|
|
-- Export twallet private key and paste it into: `wallet.json`
|
|
|
|
|
|
+- Export wallet private key and paste it into: `wallet.json`
|
|
- Modify the buy.ts file and enter your RPC endpoint
|
|
- Modify the buy.ts file and enter your RPC endpoint
|
|
- Find line where it says: `ENTER RPC ENDPOINT HERE` and `ENTER RPC WEBSOCKET ENDPOINT HERE`
|
|
- Find line where it says: `ENTER RPC ENDPOINT HERE` and `ENTER RPC WEBSOCKET ENDPOINT HERE`
|
|
and replace it with your endpoint
|
|
and replace it with your endpoint
|
|
-- Run the script
|
|
|
|
|
|
+- Run the script by typing: `npm run buy` in terminal
|