2022 Developer Survey is open! Take survey.

Questions tagged [binance]

Binance is a cryptocurrency exchange that provides a platform for trading various cryptocurrencies.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Sending the same transaction to contract on Binance Smart Chain

Hey guys I want to send the same transaction that I sent days before. https://bscscan.com/tx/0xd8e83d4f5bf2c687cf559ef3533629f419a6fc3fc896ac29304c0395cd95e861 How I can repeat it? I tried with: https:...
user avatar
0 votes
2 answers
29 views

Do binance trades happen on the blockchain?

When I trade (ethereum based) tokens on binance, do the tokens actually trade on the blockchain, or does binance just change the ownership in an internal database and only invokes the blockchain when ...
user avatar
0 votes
0 answers
8 views

Tell apart an exchanges hot and cold wallet?

Bit of a weird question but how do you know which address is an exchanges hot wallet vs. cold storage wallet? I have a list of eth transfers here that go from one exchange wallet to another (e.g. ...
user avatar
  • 1
0 votes
1 answer
60 views

Uncaught (in promise) Error: Returned error: unknown account Web3 js

I am Trying to Transfer BEP20 ACC Tokens on smart contract from my binance Wallet using Web3 js Library. Following is my implementation const contract = new Web3.eth.Contract(CONTRACT_ABI, ...
user avatar
0 votes
0 answers
16 views

How to get the latest price of BEP-20 and LP token's on BNB chain using a DEX price oracle?

Which DEX provides the feature of price oracle on bnb chain. I want to get the price of the following tokens. cake, bnb, robodoge, cake-bnb LP token using a DEX 's price oracle (not using chainlink). ...
user avatar
0 votes
1 answer
43 views

Can I run a bsc full node with this configuration?

I would like to run a bsc full node, as this is this takes time and is also my first time, could you please tell me if this configuration is enough: 1x Intel Xeon E5 1650 6 Cores / 12 Threads - 3,2 ...
user avatar
0 votes
2 answers
19 views

Accessing contract address

We have created a smart contract token on Ethereum , this contract address has received BNB funds , is there any way to access the balance ?
user avatar
0 votes
0 answers
53 views

Issue sending tokens to the contract address BEP-20 Token Transfer Error (Unable to locate corresponding Transfer Event Logs), Check with Sender

When I try to send the tokens from my wallet to the token contract address, I am getting the following error. Warning! Error encountered during contract execution [execution reverted] BEP-20 Token ...
user avatar
0 votes
1 answer
30 views

Send 1 ERC20 TOKEN to anyone who execute the function

I have had this doubt for a long time. I have a contract deployed that in the constructor mint 100 TOKENS (ERC20). I have issues creatin a function in the smart contract WITHOUT Parameters that ...
user avatar
  • 13
0 votes
0 answers
70 views

Receiving "raise_solidity_error_on_revert" on BSC Testnet and PCS

I'm trying to test my sniper bot, therefore I want to run some operations on the bsc test net, interacting with pancakeswap. So, I first setup the correct addresses (at least in my opinion) from web3 ...
user avatar
  • 11
1 vote
1 answer
202 views

How do I obtain the balance of tokens in a BSC smart contract? [duplicate]

Let's say there is a BEP-20 staking pool contract on the BSC blockchain, and let's say (for extreme simplicity for this example) the address of that contract is "1234". Upon reviewing the ...
user avatar
  • 11
0 votes
1 answer
197 views

Warning! Error encountered during contract execution: out of gas

On BSC Testnet I have deployed a token contract https://testnet.bscscan.com/address/0xE5bB5e6Cf65dBE0062d1EBa9e36e64F89e3f0638 And also a TokenSale contract https://testnet.bscscan.com/address/...
user avatar
0 votes
1 answer
254 views

How can i deploy a smart contract with Multiple files

I am kinda new to this space. I just deployed my first smart contract to the BSC using Remix IDE. Now I used the very simple contract templates most online tutorials have always used. It is just a ...
user avatar
  • 1
0 votes
0 answers
12 views

What are the Httpmodules

can anyone explain to me what are the Httpmodules ? because i am working on the BSC and i found the parlia module and trying to understand how it is working and how to use it to work with the PoS. if ...
user avatar
1 vote
1 answer
849 views

Unable to connect to BSC testnet with web3.js

From this tutorial, I learned the RPC URL for BSC Testnet is https://data-seed-prebsc-1-s1.binance.org:8545, but when I use it with web3.js like: const web3 = new Web3('https://data-seed-prebsc-1-s1....
user avatar
  • 155
0 votes
1 answer
165 views

Does transferring tokens from one wallet to another need more gas than trading or swapping?

I am new to blockchain and not sure if I am missing something. When I tried to transfer eth from one wallet(metamask) to another, it is costing me 0.001eth(~5$). But when I tried to trade eth for ...
user avatar
0 votes
1 answer
37 views

Persistent out of gas error with truffle latest on receive (Fallback) function

I am having a persistent issue programming receive fallback function on an smart contract where I am programming an staged pre-sale of a Token. When I try on Remix transaction looks as done, but it ...
user avatar
  • 13
0 votes
1 answer
28 views

BEP-20 BNB vs. BNB

I have ETH (BEP-20) in my wallet. I understand that to transact with it, I need some amount of BNB for gas. My question is, do I need BNB or BNB (BEP-20) ? I wish to eventually swap the BEP-20 ETH for ...
user avatar
  • 1
0 votes
1 answer
128 views

Error: "false Transaction mined but execution failed" when trying to deploy my test coin

I was trying to deploy my contract to the Binance smart chain test network and it failed. A warning did appear before I proceeded saying: Gas estimation errored with the following message (see below). ...
user avatar
0 votes
0 answers
20 views

Cannot deploy smart contract with truffle to smart chain (code: -32000, message: 'header not found') [duplicate]

I'm trying to deploy a smart contract to BSC. I can deploy it to test net in truffle and in remix (same smart contract). However when I try to deploy it to BSC I got this error. Odd thing is that the ...
user avatar
1 vote
0 answers
24 views

Binance network: secure transaction verification

I have a BEP-20 token deployed under Binance Smart Chain. I'm also trying to implement a web3 dapp that will send tokens from one address to another one and I need to verify this transaction on the ...
user avatar
0 votes
1 answer
3k views

Why did my transaction fail? (BEP20 token in BSC)

I just created a BEP20 token in Remix and deployed it on the BSC Testnet. When I try to transfer tokens from my Metamask account, give me this message in Transaccion Data: Transaction decoding is not ...
user avatar
0 votes
0 answers
19 views

Dev Set fee before listing

Can i develop a Dex smart contract that allows the Dev to set % of fee charges when adding Liquidity for the first time on a specific pair, where part of % fee charges goes to the Dev wallet?
user avatar
1 vote
0 answers
80 views

Setting up a full node while getting err="etherbase must be explicitly specified"

I was trying to setup a full node and getting err="etherbase must be explicitly specified". I followed the steps here https://docs.binance.org/smart-chain/developer/fullnode.html and syncing ...
user avatar
0 votes
0 answers
428 views

Declaration Error: Non-abstract contracts cannot have internal constructors

I am having a DeclarationError: Non-abstract contracts cannot have internal constructors. Remove the "internal" keyword and make the contract abstract to fix this. This is the Code: ...
user avatar
0 votes
1 answer
31 views

How do I get currency ratio between Binance Coin and US Dollars?

I'm selling items online, and I would like to accept Binance Coin. Becaue of that I would like to know how much my item costs in Binance Coin to be able to accept offers from users using that coin. My ...
user avatar
  • 113
0 votes
1 answer
22 views

finding the sequence of functions executed when interacting with a contract

I have interacted with a contract on BSC Blockchain and know I want to know the sequence of functions executed with my transaction. I got my hands on transaction GETH traces using BSCscan but that ...
user avatar
0 votes
1 answer
606 views

Getting transaction history via Ethers.js

So I am new to blockchain development and I am trying to build a wallet just like the Metamask. I am struggling with displaying the recieved transactions. How dose one gets the recieved transaction ...
user avatar
0 votes
0 answers
12 views

What's the contract address of Binance Liquid Swap

Looking up a token on CoinGecko gives me the exchanges where a token is being exchanged at. When I query for Axie-Infinity, in the exchanges table there's a row that says "Binance AXS/USDT". ...
user avatar
  • 103
0 votes
0 answers
18 views

Wrong transfer of ETH to another address [duplicate]

I made a wrong transfer from Binance Chain Wallet to an address that I copied in error. I sent it to FLOKI accidentally, 0x2b3f34e9d4b127797ce6244ea341a83733ddd6e4%E2%80%8B I tried all ways to contact ...
user avatar
  • 1
0 votes
0 answers
316 views

Why I cannot connect SushiSwap to Binance Chain Wallet?

SushiSwap lists Binance Chain Wallet as an option. In Binance Chain Wallet, I already changed the network to Ethereum network as below: then I connect SushiSwap to Binance Chain Wallet but it show ...
user avatar
  • 101
2 votes
1 answer
719 views

Uniswap Router initialization in Ethereum mainnet versus BSC

I analyzed the source code contracts of several tokens, and I noticed a line of code that differs between two similar ones that I am trying to make sense of. Specifically, I would appreciate your ...
user avatar
  • 21
2 votes
1 answer
260 views

web3.py " filter not found "

im using web3.py v5.19 in my project and we are on BSC mainnet also i use bsc urls recommended in site to connect to nodes this is my code to get events : block_filter1 = contract.events....
user avatar
0 votes
0 answers
1k views

Newbie question: how can I send BNB to my ETH wallet?

I'm trying to send some USDTs from my ETH main-net wallet to my BSC wallet. Binance bridge complains "insufficient funds" as I have no BNB in my ETH wallet. So I am trying to send some BNB ...
user avatar
1 vote
1 answer
8k views

metamask insufficient funds for gas how do i fix this?

metamask insufficient funds for gas, i'm currently using the bsc and I have 18usdt there that I want to send to binance
user avatar
0 votes
1 answer
594 views

BEP20: transfer amount exceeds allowance

I want to swap bep20 tokens like BUSD - BNB and BNB - BUSD, i already approved tokens for the swapping but while i try to swap BNB - BUSD it's throw error like BEP20: transfer amount exceeds allowance ...
user avatar
0 votes
1 answer
167 views

How to Calculate Jager using msg.value on Binance Smart Chain?

Very quick and likely easy question here. I am trying to code a crowdsale contract that accepts BNB and returns a number of tokens to the sender. My transactions keep failing because it says the BNB ...
user avatar
  • 21
0 votes
0 answers
25 views

How to use Pinata API with jquery in WordPress

I am a beginner in NFT programming. currently i am trying to write a minter function on my WordPress page to mint an ERC1155 token and then take the selected image for that token and upload it to ...
user avatar
0 votes
0 answers
23 views

Can’t use transferFrom of other contract [duplicate]

I'm creating a paid membership in my contract and I'm using Binance USD as payment token. This is the method: function PayMembership(uint256 membershipID) external { require(msg.sender != address(...
user avatar
0 votes
0 answers
60 views

Can I send BNB and BEP20 token in the same web3 sendTransaction?

I'm trying to develop a javascript function to send BNB and a BEP20 token, at the same time, in one transaction, with web3. let decimals = web3.utils.toBN(18); let bnb_amount = web3.utils.toBN(...
user avatar
  • 584
0 votes
0 answers
42 views

Get first x transactions of a Token; monitor latest activities of x wallets

I am interested in receiving information of the first x transaction of BEP-20 token/contract and how to monitor the last x transactions of a wallet. Maybe the question leads to the same query request. ...
user avatar
  • 101
0 votes
0 answers
369 views

Returned error: unknown account Web3.js on BSC using Metamask

I'm using Metamask for calling smart contract.I tried to call one of the smart contract payable method but I got this error "Returned error: unknown account".Everything was working fine, ...
user avatar
  • 11
0 votes
0 answers
31 views

Unable to display APR value while forking Pankcakeswap on testnet

I have Forked PancakeSwap on Bsc Testnet successfully. I have even added the Farm feature which works as well but the only problem is that the APR value doesn't get displayed on the FarmCard. I have ...
user avatar
  • 16
0 votes
0 answers
43 views

How to add availability to receive another tokens as a payment

I created some kind of nft marketplace, deployed to BSC. So gonna use BNB as a main payment. Please advise how to solve the following questions: How to add additional ERC20 token as a payment that is ...
user avatar
  • 1
0 votes
0 answers
59 views

Can binance trace one's IP address or some other private data?

All the validators of the binance networks belong to Binance the company and as such as centralized, right? In case something shady happens, such as a hack that has to do with a vulnerability in a ...
user avatar
  • 1
0 votes
0 answers
119 views

Reflection Token on BSC

Can anyone provide some solidity contract link of reflection token on BSC network. I heard that it doesn't require txn fees while transferring tokens to holders.
user avatar
0 votes
0 answers
96 views

What purpose of merkleProof in contract?

I found a ABI list of this contract in bscscan: 0x16fb38712d355833647f4adfb1f6ff80f289c203. I dont know what is the purpose of _merkleProof parameter as below and what value that I can pass for it? { ...
user avatar
  • 1
0 votes
1 answer
34 views

Google pay payment using token

Can I use my token (BSC TOKEN) to pay on Google pay or any services which uses QRCode to receive payment.? Can anyone please share some links or code.?
user avatar
0 votes
0 answers
54 views

ETH mysteriously removed from my account around 12hours after using Binance Bridge

Perhaps someone can shed some light on this for me? Recently joined the crypto world. Created a Metamask account, sent some test eth, all was fine. Had a family member send some BNB, then add some ...
user avatar
1 vote
1 answer
111 views

Keccak 256 Error

I encountered keccal256 error in binance smart chain based coin. This error occurred in a token generated with cointool.app. I came across this example. how to solve this error? https://blog....
user avatar