76 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
129
views
Pancakeswap trading bots
from web3 import Web3
import json
import time
from eth_abi import encode, decode
from eth_utils import keccak
from eth_account import Account
from eth_account.messages import encode_typed_data
import ...
0
votes
0
answers
24
views
pancakeswap create pool pass in testnet, but failed in mainnet
from the code below, I can add pool successful in testnet, but when I change the router to mainnet the transaction will be revert.
revert tx:
...
0
votes
0
answers
28
views
Convert raw hex transaction data to get the coin price of the transaction (Binance Smart Chain)
I am currently trying to implement a tool that requires me to fetch the latest swap data from Binance Smart Chain. After receiving the output from the log, I would like to convert the raw hex output ...
0
votes
1
answer
125
views
Get Detail transaction info
I encountered an issue and need help. I want a simple Python script that accepts a transaction hash and prints detailed information for transactions on the BSC blockchain. This includes the ...
0
votes
1
answer
35
views
Contracts were created intermittently when sending funds
In Binance Smart Chain, while sending funds from one address to another address, suddenly it created a smart contract and the fund was locked inside. How do I retrieve the fund from the smart contract ...
1
vote
0
answers
242
views
ethersjs error on the mobile phone. Error message: missing revert data (action="call", data=null, reason=null
Hello!This problem has been bothering me for weeks.
I used web3modalðers v6 to write a code that calls the BSC chain BSC-USDT (BEP20) contract. When using the balanceOf function, the following ...
0
votes
1
answer
366
views
Does BSC support Cancun?
I am trying to deploy a smart contract on a Cancun EVM usage target remix. However, several functions of the BSC-721 smart contract that I created experienced the error "invalid opcode: MCOPY&...
0
votes
1
answer
150
views
How to monitor new pool creation on BSC with Websocket
Can anyone help me to figure out a way to monitor new pool creation on BSC using Websocket.
It seems like my node receives one request, code still runes but it just sends one request, maybe problem is ...
0
votes
1
answer
155
views
Web3 BSC pair contract returning a -32602 error
I'm trying to load all Sync events for a BSC pair on Pancake Swap. I'm using one of the free quiknode BSC nodes and nodejs web3 library.
The request looks like this:
const blocksPerRequest = 10;
...
0
votes
1
answer
384
views
nodejs web3 bsc bep20 token transfer gas price need BNB or EHT
I have a question and would like to ask it.
I am currently using nodejs based on web3 and my wallet also goes to Ethereum based on web3.
The token currently used is BEP20.
let contract= new web3.eth....
0
votes
1
answer
248
views
Axelar "Transaction Underpriced" Error On Token Deployment For BSC
I am getting this error when am trying to deploy token on axelar error come from BSC
'{"jsonrpc":"2.0","id":56,"error":{"code":-32000,"message&...
-2
votes
1
answer
1k
views
Cannot Deploy Smart Conract to BSC TESTNET in Remix IDE
I am trying to deploy a smart contract using Remix and the injected Metamask provider connected to the Binance Smart Chain Testnet (BSC Testnet). Everything was working fine yesterday, but today I ...
1
vote
2
answers
1k
views
How to send BNB in BSC mainnet using Web3
I am going to send BNB using web3 on BSC main net.
BSC mainnet is as follow.
MAINNET=https://bsc-dataseed1.binance.org:443
const web3 = new Web3(process.env.MAINNET);
const BNBcontract = await new ...
2
votes
1
answer
315
views
Contract balance was drained. Interesting a way how it was done
I am just began to diving into smart contracts. And as a best way to learn, along with reading documentation and watching videos, is create something, I decided to create simple gambling smart ...
1
vote
0
answers
87
views
AptosBridge in BSC Chain script bot problem (Node.js)
Writing script for transactions thru Aptos bridge from BSC Chain. The problem is - every time I get the same transaction revert reason. LzApp: Not enough native token. I checked everything in aptos ...