42 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
47
views
"Token Purchase Failing with 'Insufficient Reserve' Error in Solidity Smart Contract"
I’ve deployed two contracts for a token sale system on BSC Testnet:
TestUSDT: https://testnet.bscscan.com/address/0xD93221735d2323a7ddca9e82d0EF44040C570848#readContract (Mock USDT)
APTToken: https://...
0
votes
1
answer
106
views
How to Resolve Import Errors for Hardhat, OpenZeppelin, and Chainlink Contracts on BscScan?
This is my code for the contract on solidity:(Token Deployed on BNB smart chain Mainnet)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import { ECDSA } from "@openzeppelin/contracts/...
1
vote
0
answers
472
views
Internal Json RPC error with Ethers, MetaMask, BSC randomly when transfer USDT
I am currently trying to deposit my USDT from wallet A to wallet B on my Dapp. While making the transaction, I will prompt the metamask in order for user to approve or reject the transaction.
After ...
0
votes
1
answer
49
views
Upgradable contract is sucessfully created and verified but token doesn’t shows up at bsc scan the name and symbol
Deployed and verified using remix
The Name and symbol are unavlaible in token search, while same code works on testnets, any help will be grateful the code was got from openzeppling contract wizard ...
0
votes
1
answer
488
views
Not able to sell token, where is the tricky code in it
I bought a small amount of this token since I know from older projects the creator is scamming people: 0x746a2890c506E11597D0b5d805f7d4d6E980667D
but im not able to sell it. I bought it with 1nch but ...
0
votes
1
answer
543
views
Any possibility to return an investment from scam smart contract?
Recently I bought a token from pancakeswap. After a few hours I realized it was a scam - it's new, there are only buy operations, and no sell operations (almost).
Of course, I cannot swap it back (it'...
0
votes
0
answers
54
views
How to withdraw BNBs in Token Balance?
I have created Token. I sent BNB to the token contract address. Can you suggest a code that I can run on the remix and withdraw the bnb balance?
These are my withdrawal codes on my contract address:
...
2
votes
3
answers
3k
views
Web3 getPastEvents Returned error: limit exceeded
I am using web3 function getPastEvents and I am getting error:
Returned error: limit exceeded
I also changed RPC url but same error occured their.
Is there any other way to get event data ?
this is my ...
1
vote
1
answer
150
views
Unable to query or get any response from BscScan contract
The following code:
const { JsonRpcProvider } = require("@ethersproject/providers")
const { Contract } = require("ethers")
const { Wallet } = require("@ethersproject/wallet&...
0
votes
1
answer
2k
views
what is the correct address for BUSD Testnet for transferring with Web3/Metamask?
I have a requirement of building Smart contract where BUSD is concerned.After googling, i came to know about 2 BUSD address and I don't know which one is going to used in smart contract implementation(...
-2
votes
1
answer
1k
views
Retrieve transaction details as shown on bscscan
I am trying to retrieve info about bsc transations using Bscscan api but it appears to be very limited.
endpoint = "https://api.bscscan.com/api"\
"?module=account"\
"&...
2
votes
0
answers
223
views
Retrieve coin base price (or quantity) from transaction data using BscScan APIs
I'm trying to write an app to track my gains/losses for tax purposes based on the swaps I've made using Bscscan APIs. I can easily retrieve all the swaps I've made using one of BscScan "accounts&...
0
votes
1
answer
321
views
BSCSCAN testnet not showing holders
I have created and ERC20 token, it works well within Remix, so I wanted to test it on BSCSCAN testnet.
As far as I can tell, it is ERC20 and BEP20 compliant... although I am a little inexperienced, so ...
1
vote
1
answer
1k
views
Verifying Smart Contract programmatically using POST method for APIs returning this error: "Error! Missing Or invalid Module name"
I'm trying to verify a simple contract programmatically on BSCScan testnet using their APIs as they have explained in their docs: verifying-contracts-programmatically.
I don't intend to use Hardhat or ...
5
votes
1
answer
2k
views
How to pass a two-dimensional array as a function argument in Etherscan?
I need to call a contract function from Etherscan that takes a 2d array as an argument, namely: foo (address[][]).
I have tried every thinkable way to call the function with no success. Etherscan ...