python script to buy token from pancakeswap
Change your privatekey!!!
on line 58 (signed_txn = web3.eth.account.sign_transaction(pancakeswap2_txn, private_key=config.private))
change private_key=" to your private key"
python script to buy token from pancakeswap
I am sorry but where to find my own personal Private key?
hi. can you write some more lines about the slippage. sometime I can not buy token which prices slip to much
File "e:\newpython\test1.py", line 1, in
from web3 import Web3
ModuleNotFoundError: No module named 'web3'
HELP ME .......................................................................
I keep getting this message, whats the problem?
I changed rpc to testnet, and got bnb from faucet testnet, converted it in ps for wbnb (left half for gas), updated the wbnb contract for testnet as well, trying to swap for testnet busd,
doesnt work.
My wallet is hacked, all tokens that appear in it the hacker transferred to him manually. I would like to know if there is some way that all the tokens that fall into my wallet would automatically be transferred to my new wallet. I have a friend who was hacked and it seems that his wallet has a bot, if it drops 0.00001 it is automatically sent to another wallet. How do you do this?
How can i choose slippage ? Thanks
I got scammed after using your code.
https://bscscan.com/tx/0xd091cc8667330fde3574af6da54a4c176b62b6aa8fa907f63ecc81b3b66f1cc6
.....
Hello, I through this code, buy to get the quantity and change the number of inconsistent https://pancakeswap.finance/swap
From https://pancakeswap.finance/swap for how a BSC - USD
Hello, the script stopped working a few days ago, it charges the commissions but never arrives. I've been testing it for a few days and it worked perfectly... But all of a sudden it doesn't work, can anyone help me? Thanks
when I run the code I get this error message:
I can't buy tokens with different coins other than BNB(BUSD,USDT)
For example :I want to buy EJS for 10 BUSD
I tried swapExactTokensForETH and swapExactTokensForTokens functions. But
they don't work without bnb address. Is there any way to buy coin with different coins?
Can you do the same for selling please
how do i enter my private key
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.