How do I ask a good question?

If you were redirected here, your post did not meet quality standards. Please review this page and edit or create a new topic according to the guidelines.

Asking good questions is important in this community. It will improve your chances of getting an answer from the OpenZeppelin team or community members, and of finding out how to solve your problem.

Users are expected to put in a minimum level of effort. Topics will be closed unanswered if moderators consider that this was not the case. Repeated failure to meet quality standards may result in the user being banned.

Before posting, extensively search the internet and the forum for relevant posts. If none of the existing posts answers your question, create your own according the guidelines below.

We generally follow the guidelines of the Stack Overflow community, as summarized in Why do I see a message that my question does not meet quality standards?:

Check to make sure that your question has the following:

  • A clear title.
  • A reasonable explanation of what your question is. Add as much detail as you can.
  • Any background research you've tried but wasn't enough to solve your problem.
  • Correct use of English spelling and grammar to the best of your ability.

If you will be posting code, make sure it is formatted as code by surrounding it with triple backticks.

```
code here
```

For more detail and tips consult the following resources:

1 Like
Cronos Testnet - deploying token contract, but it never knows it's own name
Ban function on smart contract
Cannot addLiquidity from Smart Contract
Help with flashloans
ERC20 Contract
Crown sale bep20 token
Can not verify erc20 contract in bsc scan
Can't verify contract on BSC scan
ECDSA signature v , r , s value? How can I get?
"Warning! Error encountered during contract execution [Out of gas] " ERROR
How transferFrom can be used with addresses other than the contract?
Im not sure what I did?
DeclarationError: Undeclared identifier error when using sendValue()
Ethernaut test token needed. rinkeby faucet not working insufficient funds for gas * price +value
Token with fee on transaction (Charity and Liquidity only)
Deflationary Token
We don't know how to do the delegate function
How transferFrom can be used with addresses other than the contract?
Can I change my rewards into BTC/BUSD, The concept of the token is just hold the token and it will calculate the BNB rewards you can get daily
Please support with finding an answer
Hello. Can anyone help me to verify my contract?
ERC721 Contract EOA does not exist]
I can not compile a contract in bsc
Can I restart my ERC20 or BEP20 contract after deploying?
Uniswap router swapExactTokensForETHSupportingFeeOnTransferTokens() gives error
Royalty problem at last line
How to create contract that locks airdrop from withdrawal
UUPS Upgradeable
Warning: Visibility for constructor is ignored. If you want the contract to be non-deployable, making it “abstract” is sufficient
Etherscan verification for flattened contract deployed with Remix
How to get the proof(bytes 32) data from a contract
Can't deploy SafeMoon fork contract due to: "... hit a require or revert statement somewhere in its constructor"
Error: Proxy admin is not the one registered in the network manifest
Permit feature in erc20 token
How to Create Accounting Address Contract
{"code":-32000,"message":"transaction underpriced"
swapExactTokensForETHSupportingFeeOnTransferTokens and transfer_from_failed
Verify ERC20 token on Etherscan that was deployed through Remix: Step by Step Guide
BNBs locked into "Dividend Paying Token" contract
How to verify a contract deployed using Remix importing OpenZeppelin via GitHub?
Unable to generate contract bytecode Ethereum
Can't verify BSC contract and it has the same output
Help verifying token on bscscan
Cannot use delegate in ERC1967Proxy
Help with verification on bscscan.com
Help needed - Gem Contract Error
Unable to verify contract on Binance smart chain testnet (BSC testnet)
Can anyone send me some ropsten ether?
Verify Contract through BscScan
Eip 1559 best practices
How to use Hardhat or Truffle to deploy contracts
I Need Help guys
Couldn't verify contract on Bscscan
I need your help about : UpgradeableProxy.constructor (address _logic, address admin_, bytes _data)
I need simple ERC20 token template with pramga version 0.8.0 and up
Smart contract's - caller is not owner
Gas Estimation Error ! while transferFrom as There is Issue in OpenZep
I am unable to verify contracts
Before verifying the contract, I sent a token to other wallets, now I cannot verify, it asks me for the ABI. Should I add the constructs to the other wallets?
Bsc Contract Won't Verify, Please Help
Error with npm install @openzeppelin/contracts
Contract verification
Insufficient funds for gas + value Rinkeby faucet error?
I am unable to to verify my contract on Ropsten testnet
How to add bigger number in the value in js with web3
Need someone who can verify contract on bscscan for my token
Error! Unable to generate Contract ByteCode and ABI in Binance Smart Chain
Why is the contract not abstract
I need to lock a function so that it can only be used by unity as would be possible
Presale help
Trying to make dip website
Hellp me for error contract ERC20
Erc 721 help
How to verify a contract on Etherscan/BscScan/PolygonScan
Help me to verify and publish contract source code
Hello I am trying to verify my contract but got this error I use multi-part
IPFS Base Uri of Infura IPFS in Truffle Migrate
Help with contract not deducting fees and distributing to wallets
Can We Re Deploy a new Contract on Same address
How to create smart contract multi reward? (BUSD & Token it self)
How can I set a time interval for upgrading an upgradable smart contract
Contact upgrade with previous implementation
Difficulties verifying smart contract with imports
Implement erc20 in erc721 as reward for successful mint
Red highlighted import code
Solidity contract
Remix Uint256 for abi encoder
ERC20 Coin Deploys but my symbol or name will not come up in BSC scan. Any Suggestions?
Can someone please explain each line and the figure are correct?
help,Fill in the _rate of ERC20
URGENT, How can I peg/add a token amount when MINT an NFT
Review and understanding standard functions of smart contract code
Need some help Please ! developer and marketing adress
Error List
Splitting ERC721 NFT into ERC20 Tokens
I need a withdrawal function for BNB from a smart contract
How to put a token image when creating a token with remix
Getting error when attempting to remove liquidity via removeLiquidityETH (ds-math-sub-underflow)
How to mint multiple NFTs at once ERC 721 contract
Sorry! The Compiled Contract ByteCode for '' does NOT match the Contract Creation Code for Address
SafeMint vs MintNFT
Contract code explanation
Error: New storage layout is incompatible
Contract validation problem. BscScan
Failed to verify ERC721 Smart Contract after publishing via Remix
I cannot deploy on test bnb
I Need Help guys
Verify simple contract
TokenId in lazy minting
I Need Help guys
I want the complete code for making the token on the bep20 network
Error: not found lib/MerkleProof.sol
Simple small Savegas on-chain mint-myself Please let me know
Contrat/pancake
I want the same
Unable to upgrade UUPS contract
Can anyone check this dividend contract
Erro de Biliotecas na verificação na Rede BSC
OpenZeppelin requiring solidity 0.8.20
Npm run dev npm error Missing script: "dev" npm error npm error To see a list of scripts, run: npm error npm run getting this error
Version 5: storage slot getter function
tocken verify and publich
IERC20 approve and Allowance not matching
ypeError: Definition of base has to precede definition of derived contract --> giftzie.sol_flattened.sol:47:29: | 47 | interface IERC20Metadata is IERC20 {
I can't find starknet smart contract any template
Multicall Optimism Address
ERC20Votes package issue at Openzeppelin v5.0.1
Whenever I used to deploy my smart contracts using hardhat, it worked fine. But now it always show me this error => TypeError: no matching function (argument="key", value="deployed", code=INVALID_ARGUMENT, version=6.5.1) at makeError (F:\web_3\Project
No me deja
Help to setup UiKit for my fork of pancakeswap
Remix now shows me an "infinite gas message"
Hello I have an issue with my contract
This is my first time building n running a contract. Im lost n i dont kno1w what im doing. Can anyone please help me
# Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending? Returned error: {"jsonrpc":"2.0","error":"execution reverted",
Changing the proxyAdmin contract so that I can deploy a forked version of a repo
All my token storages changed to zero after the implementation
Running OpenZeppelin Contracts tests outside hardhat
Decrease allowance
Can you use reinitializer(2) modifier in a child contract without first using initializer modifier?
Can a function in base contract have "onlyInitializing" modifier and a derived contract have "reinitialilzer" modifier in its initialize function?
Looking for help on integrating Defender 2.0?
Error: Contract at 0xAB3393423D1B5E1455f3136F9065F697b3ec000A doesn't look like an ERC 1967 proxy with a logic contract address
I cannot use Transparent Proxy to upgrade the contract in v5
The following command was executed with an error truffle migrate --network sepolia
FailedInnerCall issue
Who can find me a best smart-contract for remix for bep20 mainnet
ID 747804 trueTransfer(address,uint256) 0x0f3a297b
Fails to deploy on remix
Build tokens for training