Comments (5)
The private key is unique to your wallet address. So once you provide it, it will be able to read your wallet. No need so seperatly mention your public wallet address.
Disclaimer: I would recommend to always be cautious and don't use your main wallet. Just create a new wallet and supply it with a mimimum amount of funds to test with.
from solana-trading-bot.
Never use your main wallet for bot!!!!
@ImSan286 you can create a new wallet with solana-keygen new --outfile bot-keypair.json
In json file bot-keypair.json
, the private key is in array format like [1, 2, 3, ....]
you can use following nodejs script to convert the private key in bot-keypair.json
const fs = require('fs');
const {Keypair} = require('@solana/web3.js');
const bs58 = require('bs58');
// Replace with the path to your keypair.json file
const keypairPath = './bot-keypair.json';
const keypair = Keypair.fromSecretKey(new Uint8Array(JSON.parse(fs.readFileSync(keypairPath, 'utf-8'))));
console.log(bs58.encode(keypair.secretKey));
➜ solana-trading-bot git:(master) ✗ node keyToBase58.js
<private key in base 58 encoding>
from solana-trading-bot.
having same issue do i type this into command prompt?
from solana-trading-bot.
Create key.js file and put it in it
from solana-trading-bot.
not allowed to create a new file in the Solana sniper bot directory. were is the javascript code pointing to. Sorry for all the questions im a newb when it comes to coding.
from solana-trading-bot.
Related Issues (20)
- Token filtering
- remove unused parameters
- Frozen account HOT 2
- base-trading-bot
- Adding 2 extra features
- ERROR: MAX_TOKENS_AT_THE_TIME is not set
- Discord dont work
- Skipping buy because one token at a time is turned on and token is already being processed HOT 4
- Logs HOT 2
- Auto sell
- . HOT 1
- ¿WHAT IS POOL SIZE? HOT 2
- now work
- How exactly does the cache work? HOT 1
- Any way to filter by market cap? HOT 2
- "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4645 of 55411 compute units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", "Program 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 consumed 30687 of 80692 compute units", "Program 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 suc
- confirmTransaction is very slow
- Any way to send transactions with the default transaction executor adding priority fees? HOT 1
- How to check transactions made by autosell
- How to check transactions made by autosell apart from directly checking wallet history
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solana-trading-bot.