python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
how to buy/sell bsc tokens on pancakeswap from a solidity smart contract?
I just start to learn solidity and I've finished a couple courses and I want some help to create my first working smart contract.
The smart contract I want to build will buy and sell tokens on the pa...
mhamed99
Votes: 0
Answers: 0
swapExactTokensForETHSupportingFeeOnTransferTokens has a path argument, I know I have to put the token's contract address first
I want to swap a token to BNB
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
I...
Surface
Votes: 0
Answers: 2
Web3 Python token sell pancakeswap slippage
I am trying to sell my tokens via python web3. But I get an error "TRANSFER_FROM_FAILED" like this. I know why this error comes up and I know i need to set up Slippage Tolerance somewhere. C...
Jason Lee
Votes: 0
Answers: 1
PancackeswapV2Router swapExactETHForTokensSupportingFeeOnTransferTokens: 'Pancake: TRANSFER_FAILED' when "from" equals to "pancackeSwapV2pair"
PancakeSwap is driving me crazy!
I have this simple contract: when the token are transferred from someone different from the owner, instead of making the transer, swap the reveiced tokens with Bnb.
fu...
xyz
Votes: 0
Answers: 0