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
9 views

fun project i want to create a CEX

hey i want to create a centralized exchange just for fun project and to understand how things works. Is there any good open source project and good docs for that please? Thank you !
Gaara's user avatar
  • 1
0 votes
0 answers
167 views

Invalid sender when trying to send BSC transaction on Metamask

I'm trying to execute contract by adding in r,s,v values back from signature. i keep getting "invalid sender" when i try to send the transaction. it signs, it returns the hex then it shows ...
user114353's user avatar
0 votes
1 answer
70 views

I want to access several multi-sig wallets deployed with pragma solidity >=0.5.0 <0.7.0. How can I get the right frontend? Github Gnosis Safe v3.12.0?

I have several wallets that need to be accessed with the interface that was live on https://gnosis-safe.binance.org. When it changed to https://gnosis-safe.io/app/bnb I transferred several funds but ...
Amos ProDeo_Crypto's user avatar
0 votes
1 answer
30 views

0 value method transaction

Hey I have a question hope anyone can help me understand. I withdrew some USDC from Binance to my hardware wallet and noticed an automatic 0 value usdc method transaction about 5 min later. I withdrew ...
Vonwelzen's user avatar
0 votes
0 answers
13 views

How to query historical ETH data based on frequency?

On Binance one can download historical data via API with aggTrades endpoint: https://www.binance.com/en/support/faq/how-to-download-historical-market-data-5810ae42176b4770b880ce1f14932262 I would pass ...
János's user avatar
  • 113
0 votes
0 answers
53 views

Binance API retrieving incorrect data

I have a relatively simple issue that has led me to be stumped for hours. I have this transaction which I wish to get the historical price, for at the time of execuetion. I wish to get the historical ...
Khandkar Islam's user avatar
1 vote
1 answer
135 views

Why BNB Chain is not working?

My transactions on BNB Chain are not going through. My BNB Chain node is not syncing.
Mikko Ohtamaa's user avatar
0 votes
1 answer
102 views

What is the difference between Binance Beacon Chain & Binance Smart Chain

What is the difference between Binance Beacon Chain & Binance Smart Chain
Shahbaz Ali's user avatar
0 votes
0 answers
11 views

Initiate Payment on Binance user's behalf

I'm prototyping an application where people can pay for a service using cryptocurrency on a mobile app. There's not really a single "product" to bill for though, and the price can vary ...
Josh D's user avatar
  • 3
0 votes
1 answer
2k views

how do i get token balance and send token on BEP20?

Hi i have came out my code but i am not sure i am anywhere near what i am trying to achieve is Getting the balance of token of Token eg(BNB) Sending token after connected to metamask to another ...
Eugene Tang's user avatar
0 votes
1 answer
73 views

Transfer Bitcoin and other tokens through a Binance Smart Chain

How would one transfer tokens such as Bitcoin through a finance smart chain (so from Binance) to a hardware wallet like Trezor, in order to avoid higher fees? Also, which the third party could be used?...
Aristarchus_'s user avatar
0 votes
0 answers
15 views

Binance Transaction issue, Metamask and Trezor

transaction from Binance does not appear on my Trezor wallet, MetaMask, or any other third-party wallets. When I search for the transaction history in Etherscan it says that it was successful under ...
Aristarchus_'s user avatar
0 votes
0 answers
36 views

Transaction do not appear on Metamask nor Trezor. Binance Smart Chain

I made a couple of transactions from Binance for testing the Trezor hardware wallet yesterday. Transaction history does not, however, appear neither on the Trezor app, MetaMask, or Exodus. I have ...
Aristarchus_'s user avatar
0 votes
1 answer
26 views

20 word recovery phase Metamask

I had a problem with transactions from Binance to Trezor, namely, the amount transferred did not appear in the app. So I am trying to connect my Trezor hardware wallet to a third-party one like ...
Aristarchus_'s user avatar
0 votes
0 answers
20 views

Can I swap tokens from Binance/Coinbase using Solidity Smart Contract?

I am developing an app which can be used as exchange, our goal is to swap tokens within the smart contract from popular exchanges like Binance and Coinbase. Suppose I have 1 ETH on my smart contract ...
Yaseen Ammaar's user avatar
0 votes
1 answer
43 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:...
Bogdan Bogdanov's user avatar
0 votes
2 answers
50 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 ...
user2520938's user avatar
1 vote
1 answer
767 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, ...
fahad Abbas's user avatar
1 vote
2 answers
410 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 ...
devPsycho's user avatar
0 votes
2 answers
58 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 ?
Matthew Hudson's user avatar
0 votes
1 answer
38 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 ...
Fr4nc0's user avatar
  • 25
1 vote
1 answer
860 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 ...
EKN's user avatar
  • 31
0 votes
1 answer
1k 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/...
Ugochukwu Ozoamaka's user avatar
0 votes
1 answer
1k 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 ...
Kezino's user avatar
  • 1
1 vote
1 answer
3k 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....
abc's user avatar
  • 155
0 votes
1 answer
448 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 ...
Shashi Kumar's user avatar
0 votes
1 answer
58 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 ...
ealco85's user avatar
  • 23
0 votes
1 answer
40 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 ...
Jayson's user avatar
  • 1
0 votes
1 answer
377 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). ...
iSenpai021's user avatar
1 vote
0 answers
30 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 ...
featureoffuture's 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 ...
Alejandro Piña's user avatar
1 vote
1 answer
543 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 ...
Allen Zhou's user avatar
0 votes
1 answer
32 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 ...
Lin's user avatar
  • 123
0 votes
2 answers
56 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 ...
cyberlobster's user avatar
3 votes
2 answers
5k 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 ...
Ali Raza's user avatar
2 votes
1 answer
958 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 ...
WAGMI's user avatar
  • 21
2 votes
1 answer
599 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....
vahidodin moghimi's user avatar
0 votes
0 answers
2k 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 ...
user84133's user avatar
2 votes
1 answer
11k 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
MusicRblx Gamer's user avatar
0 votes
1 answer
1k 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 ...
Dharmesh's user avatar
0 votes
1 answer
317 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 ...
Austin's user avatar
  • 21
1 vote
0 answers
561 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(...
Alexander Herranz's user avatar
0 votes
0 answers
48 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 ...
JSrock's user avatar
  • 1
0 votes
0 answers
181 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 ...
kennya's user avatar
  • 1
0 votes
1 answer
36 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.?
Ravikant's user avatar
0 votes
0 answers
59 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 ...
ShaneZero's user avatar
1 vote
1 answer
202 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....
Cem Mert Erence's user avatar
0 votes
1 answer
66 views

Smart Contracts developed for Ethereum can also be used in Binance Smart Chain?

I'm newcomer to blockchain and i'm starting to develop a new token, and i've seen many places telling the similarities between the two blockchains. And i read that BSC have a EVM(Ethereum Virtual ...
Luiz Felipe Veiga's user avatar
0 votes
1 answer
2k views

swapExactETHForTokens function execution

Please, help me. I try to do swapExactETHForTokens function from PancakeSwap Router contract. It's my code: def swap_exact_eth(router_contract_sample, token_contract, ...
Ivan's user avatar
  • 1
0 votes
1 answer
547 views

Approve fail [execution reverted]

Novadays we can see a lot of scamcoins on bsc. Why do all approve transactions fail? smart contract link. I thought all reverts preventing transaction execution. But here we can see error messages in ...
blackdream's user avatar