Skip to content

copy trading doesnt work for me #1

@dekacypher

Description

@dekacypher

Hi I've tried out your copy trading script it really sounds promising and I really appreciate you making this open source for free.
I've just ran into a small issue, the code doesnt seem to copy trade either a pump token or USDC, i tried copy trading myself by making two accounts, could that perhaps be the issue?

I've added som logging below. the wallet address im copy trading is in SMART_WALLETS_LIST

I'm running the file npm run accountUpdate and I've tried npm run start


> [email protected] accountUpdate
> ts-node src/accountUpdate.ts

bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
Initialized with these wallets: [ 'AT6wmwE51E66Hm23pNLEgxuF99ou9W6qitKdTiLTD5zd' ]
Environmentvariables:
HELIUS_RPC_URL: Set
SMART_WALLETS_LIST: ["AT6wmwE51E66Hm23pNLEgxuF99ou9W6qitKdTiLTD5zd"]
TRADE_PRIVATE_KEY: Set (hidden)

Parsed SMART_WALLETS_LIST:
Raw value: ["AT6wmwE51E66Hm23pNLEgxuF99ou9W6qitKdTiLTD5zd"]
After parsing: [ 'AT6wmwE51E66Hm23pNLEgxuF99ou9W6qitKdTiLTD5zd' ]

RPC Connection:
RPC_ENDPOINT: Set

WebSocket Configuration:
WebSocket URL: wss://pumpportal.fun/api/data
WebSocket is open
Sender subscribe request: {
  "method": "subscribeAccountTrade",
  "keys": [
    "AT6wmwE51E66Hm23pNLEgxuF99ou9W6qitKdTiLTD5zd"
  ]
}
Raw WebSocket message: {"message":"Successfully subscribed to keys."}
Parsed data: {
  "message": "Successfully subscribed to keys."
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions