warp-id / solana-trading-bot

Solana Trading Bot - Beta
Microsoft Public License
1.57k stars 727 forks source link

Sniper bot #3

Closed chiochocolate closed 9 months ago

chiochocolate commented 10 months ago

Hey Filip great work!

Ive tried using it, but what wallet do you prefer to use? And also, do you have any other platform to write you a message? Like gmail or instagram, telegr.

Thank you,

fdundjer commented 10 months ago

Hey, thanks! I prefer solflare. For running the script it doesn't matter which wallet is it. You just need to put your wallet private key in wallet.json file before running the script.

RedWilly commented 10 months ago

Hey Filip great work!

Ive tried using it, but what wallet do you prefer to use? And also, do you have any other platform to write you a message? Like gmail or instagram, telegr.

Thank you,

you will need to convert it to base58 first

import base58

# Replace this with your actual private key
base58_encoded_key = "private key here"

# Decoding the base58 key
decoded_bytes = base58.b58decode(base58_encoded_key)

# Converting bytes to a list of integers
byte_array = list(decoded_bytes)

print(byte_array)

and paste the base58 key in the wallet.json file.

fdundjer commented 9 months ago

I'm closing this issue. Feel free to reopen it if needed.