# \#remix

**URL:** https://forum.openzeppelin.com/tag/remix/62.md

[Latest](https://forum.openzeppelin.com/latest.md) · [Categories](https://forum.openzeppelin.com/categories.md) · [Tags](https://forum.openzeppelin.com/tags.md)

---

## [Broken OpenZeppilin ERC-721 repo on github missing ./extensions/IERC721Metadata.sol file](https://forum.openzeppelin.com/t/broken-openzeppilin-erc-721-repo-on-github-missing-extensions-ierc721metadata-sol-file/44527)

<div class="topic-metadata">

**Author:** [@Snowpiercer](https://forum.openzeppelin.com/u/Snowpiercer)\
**Replies:** 0\
**Last updated:** [July 12, 2025, 6:54pm UTC](https://forum.openzeppelin.com/t/broken-openzeppilin-erc-721-repo-on-github-missing-extensions-ierc721metadata-sol-file/44527 "2025-07-12T18:54:30Z")

</div>

I cannot use the Open Zeppilin ERC-721 repo because it is missing an essential .sol file. Please fix this issue because as of now ERC-721 github implementation is non-functional. :1234: Code to reproduce :laptop: …

---

## [Hi! I have an error, when choosing Metamask, it does not see my account. Can you tell me what to do?](https://forum.openzeppelin.com/t/hi-i-have-an-error-when-choosing-metamask-it-does-not-see-my-account-can-you-tell-me-what-to-do/43060)

<div class="topic-metadata">

**Author:** [@Oksana](https://forum.openzeppelin.com/u/Oksana)\
**Replies:** 2\
**Last updated:** [February 1, 2025, 12:53am UTC](https://forum.openzeppelin.com/t/hi-i-have-an-error-when-choosing-metamask-it-does-not-see-my-account-can-you-tell-me-what-to-do/43060 "2025-02-01T00:53:42Z")

</div>

:1234: Code to reproduce :laptop: Environment

---

## [Getting Gas Estimation error while deploying to ethereum sepolia testnet](https://forum.openzeppelin.com/t/getting-gas-estimation-error-while-deploying-to-ethereum-sepolia-testnet/41722)

<div class="topic-metadata">

**Author:** [@Bsc\_Talk](https://forum.openzeppelin.com/u/Bsc_Talk)\
**Replies:** 2\
**Last updated:** [September 30, 2024, 10:26am UTC](https://forum.openzeppelin.com/t/getting-gas-estimation-error-while-deploying-to-ethereum-sepolia-testnet/41722 "2024-09-30T10:26:30Z")

</div>

// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract GPTMembership is ERC721 { address public owner; uint256 public membershipTypes; …

---

## [Create an NFT and deploy to a public testnet, using Remix](https://forum.openzeppelin.com/t/create-an-nft-and-deploy-to-a-public-testnet-using-remix/6358)

<div class="topic-metadata">

**Author:** [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Replies:** 21\
**Last updated:** [January 25, 2024, 12:01pm UTC](https://forum.openzeppelin.com/t/create-an-nft-and-deploy-to-a-public-testnet-using-remix/6358 "2024-01-25T12:01:56Z")

</div>

In this tutorial we will create a non-fungible token (NFT) and deploy to a public testnet. ERC721 is a standard for representing ownership of non-fungible tokens, that is, where each token is unique such as in real esta…

---

## [\[Begginer\] \[REMIX\] Error using ERC20 token in another contract](https://forum.openzeppelin.com/t/begginer-remix-error-using-erc20-token-in-another-contract/38467)

<div class="topic-metadata">

**Author:** [@Antonio\_P](https://forum.openzeppelin.com/u/Antonio_P)\
**Replies:** 4\
**Last updated:** [December 3, 2023, 7:50pm UTC](https://forum.openzeppelin.com/t/begginer-remix-error-using-erc20-token-in-another-contract/38467 "2023-12-03T19:50:41Z")

</div>

I trying to using ERC20 token in another contract but I am stuck in this error "The transaction has been reverted to the initial state. Note: The called function should be payable if you send value and the value you sen…

---

## [Unable to deploy this code on any chain. I have done all i could, cleared my browser and restarted my pc and still could not deploy. what could be the issue please](https://forum.openzeppelin.com/t/unable-to-deploy-this-code-on-any-chain-i-have-done-all-i-could-cleared-my-browser-and-restarted-my-pc-and-still-could-not-deploy-what-could-be-the-issue-please/38434)

<div class="topic-metadata">

**Author:** [@Bamu\_Gift](https://forum.openzeppelin.com/u/Bamu_Gift)\
**Replies:** 3\
**Last updated:** [November 11, 2023, 4:30am UTC](https://forum.openzeppelin.com/t/unable-to-deploy-this-code-on-any-chain-i-have-done-all-i-could-cleared-my-browser-and-restarted-my-pc-and-still-could-not-deploy-what-could-be-the-issue-please/38434 "2023-11-11T04:30:12Z")

</div>

Gas estimation errored with the following message (see below). The transaction execution will likely fail. Returned error: invalid opcode pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol";…

---

## [Smart contract problem](https://forum.openzeppelin.com/t/smart-contract-problem/36901)

<div class="topic-metadata">

**Author:** [@Tarek\_MHIRI](https://forum.openzeppelin.com/u/Tarek_MHIRI)\
**Replies:** 6\
**Last updated:** [July 4, 2023, 8:51pm UTC](https://forum.openzeppelin.com/t/smart-contract-problem/36901 "2023-07-04T20:51:38Z")

</div>

I got this mev bot that I am trying. In remix, I have only the start and withdraw button after deployment. It works. But when I want to withdraw my eth the contract diplays 0 eth. I do not know what to do next. I am new …

---

## [Remix: IERC721 ownerOf() Function Infinite Gas Costs](https://forum.openzeppelin.com/t/remix-ierc721-ownerof-function-infinite-gas-costs/36132)

<div class="topic-metadata">

**Author:** [@fabs2901](https://forum.openzeppelin.com/u/fabs2901)\
**Replies:** 2\
**Last updated:** [May 19, 2023, 5:57pm UTC](https://forum.openzeppelin.com/t/remix-ierc721-ownerof-function-infinite-gas-costs/36132 "2023-05-19T17:57:01Z")

</div>

Hi, i wanted to make a smart contract which checks if a specific address has a specific NFT. I already created the NFT and my Code in the Goerli Testnet. But when i want to run my function it gives me an Error, probably …

---

## [Openzeppelin contract not found in remix](https://forum.openzeppelin.com/t/openzeppelin-contract-not-found-in-remix/35677)

<div class="topic-metadata">

**Author:** [@Dainiuxas645](https://forum.openzeppelin.com/u/Dainiuxas645)\
**Replies:** 4\
**Last updated:** [April 15, 2023, 12:08pm UTC](https://forum.openzeppelin.com/t/openzeppelin-contract-not-found-in-remix/35677 "2023-04-15T12:08:13Z")

</div>

Hi, i am quite new to the community and the contracts in general. The issue i am facing for a while is quite simple, but for me, quite difficult to solve. I am trying to compile my contract on remix and i have multiple e…

---

## [Push opeartion not working](https://forum.openzeppelin.com/t/push-opeartion-not-working/31496)

<div class="topic-metadata">

**Author:** [@Brijesh\_Roy](https://forum.openzeppelin.com/u/Brijesh_Roy)\
**Replies:** 1\
**Last updated:** [August 29, 2022, 3:05am UTC](https://forum.openzeppelin.com/t/push-opeartion-not-working/31496 "2022-08-29T03:05:28Z")

</div>

I am creating a To-Do list with the limitation that one address should only be able to add upto 100 notes. Below is the snippet of code //SPDX-License-Identifier: MIT pragma solidity ^0.8.16; contract todo { struct l…

---

## [Having issues while deploying contract on remix](https://forum.openzeppelin.com/t/having-issues-while-deploying-contract-on-remix/31264)

<div class="topic-metadata">

**Author:** [@ravikash](https://forum.openzeppelin.com/u/ravikash)\
**Replies:** 1\
**Last updated:** [August 17, 2022, 9:28pm UTC](https://forum.openzeppelin.com/t/having-issues-while-deploying-contract-on-remix/31264 "2022-08-17T21:28:04Z")

</div>

Error encoding arguments: Error: expected array value (argument=null, value="0x0ec5fb91da5a2f5281ee85f7168e88e1fcd64273", code=INVALID\_ARGUMENT, version=abi/5.5.0) the contract // SPDX-License-Identifier: MIT pragma so…

---

## [Unable to transfer DAI token to Smart Contract on Ropsten Testnet using Metamask and Remix](https://forum.openzeppelin.com/t/unable-to-transfer-dai-token-to-smart-contract-on-ropsten-testnet-using-metamask-and-remix/29701)

<div class="topic-metadata">

**Author:** [@shush](https://forum.openzeppelin.com/u/shush)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 12:26pm UTC](https://forum.openzeppelin.com/t/unable-to-transfer-dai-token-to-smart-contract-on-ropsten-testnet-using-metamask-and-remix/29701 "2022-06-16T12:26:14Z")

</div>

The code below mentioned has the 3 methods which I'm trying to use to transfer DAI tokens (0xaD6D458402F60fD3Bd25163575031ACDce07538D) from my Metamask wallet to the Smart Contract. In Method - 1: Some unnamed token is …

---

## [Deploy a Secure NFT Contract Without Writing Code](https://forum.openzeppelin.com/t/deploy-a-secure-nft-contract-without-writing-code/26752)

<div class="topic-metadata">

**Author:** [@slw.eth](https://forum.openzeppelin.com/u/slw.eth)\
**Replies:** 0\
**Last updated:** [March 25, 2022, 4:41pm UTC](https://forum.openzeppelin.com/t/deploy-a-secure-nft-contract-without-writing-code/26752 "2022-03-25T16:41:33Z")

</div>

In this tutorial, I'll show you how you can create and deploy an NFT contract —without needing to touch a single line of Solidity code or JavaScript—using the OpenZeppelin Contracts Wizard. You'll be able to manage your …

---

## [Transfer all tokens from token contract to exchange contract address](https://forum.openzeppelin.com/t/transfer-all-tokens-from-token-contract-to-exchange-contract-address/12584)

<div class="topic-metadata">

**Author:** [@SaubaanQuazi20](https://forum.openzeppelin.com/u/SaubaanQuazi20)\
**Replies:** 0\
**Last updated:** [July 16, 2021, 9:16am UTC](https://forum.openzeppelin.com/t/transfer-all-tokens-from-token-contract-to-exchange-contract-address/12584 "2021-07-16T09:16:59Z")

</div>

I am using remix for testing my smart contracts ERC20 token Contract pragma solidity 0.8.4; contract Saubaan\_2{ string public name = "Saubaan 2"; string public symbol = "SBN"; uint256 public decima…

---

## [Unable to verify smart contract from remix deployment](https://forum.openzeppelin.com/t/unable-to-verify-smart-contract-from-remix-deployment/27703)

<div class="topic-metadata">

**Author:** [@Nom\_Pang](https://forum.openzeppelin.com/u/Nom_Pang)\
**Replies:** 1\
**Last updated:** [April 17, 2022, 1:21pm UTC](https://forum.openzeppelin.com/t/unable-to-verify-smart-contract-from-remix-deployment/27703 "2022-04-17T13:21:08Z")

</div>

HI Experts. i have issue with contract verification . Anyway it has its own story. If i deploy the contract using hardhat , i can verify easily and successfully. but i don't like the private key input part , so i use…

---

## [Failed to verify ERC721 Smart Contract after publishing via Remix](https://forum.openzeppelin.com/t/failed-to-verify-erc721-smart-contract-after-publishing-via-remix/26847)

<div class="topic-metadata">

**Author:** [@armanmamyan](https://forum.openzeppelin.com/u/armanmamyan)\
**Replies:** 11\
**Last updated:** [March 30, 2022, 3:25pm UTC](https://forum.openzeppelin.com/t/failed-to-verify-erc721-smart-contract-after-publishing-via-remix/26847 "2022-03-30T15:25:01Z")

</div>

Hey Everyone. I have problems while trying to verify my ERC721 smart contract after remix. I know that there are a bunch of similar questions in this forum, but I couldn't understand my main issue regarding the code. W…

---

## [Gas limit exceeded on clicking deploy in remix](https://forum.openzeppelin.com/t/gas-limit-exceeded-on-clicking-deploy-in-remix/26888)

<div class="topic-metadata">

**Author:** [@Chicku\_Singh](https://forum.openzeppelin.com/u/Chicku_Singh)\
**Replies:** 2\
**Last updated:** [March 29, 2022, 5:15am UTC](https://forum.openzeppelin.com/t/gas-limit-exceeded-on-clicking-deploy-in-remix/26888 "2022-03-29T05:15:29Z")

</div>

I am constantly getting below error while deploying my smart contract for personal identity security. Once I click to deploy it on remix after compilation, a pop up comes depicting gas storage is infinite. Please let m…

---

## [What do you think of this contract for a Polygon Token? I get 72 warnings in Remix](https://forum.openzeppelin.com/t/what-do-you-think-of-this-contract-for-a-polygon-token-i-get-72-warnings-in-remix/26774)

<div class="topic-metadata">

**Author:** [@polyagan](https://forum.openzeppelin.com/u/polyagan)\
**Replies:** 0\
**Last updated:** [March 25, 2022, 9:38pm UTC](https://forum.openzeppelin.com/t/what-do-you-think-of-this-contract-for-a-polygon-token-i-get-72-warnings-in-remix/26774 "2022-03-25T21:38:19Z")

</div>

I am a noob, so please don't be harsh. I am creating a simple token to be exchanged on polygon network. I want to start with a set total supply, then increase it later on or burn some later on. Also, should I put my addr…

---

## [Identifier not found (ERC721) - on Remix IDE](https://forum.openzeppelin.com/t/identifier-not-found-erc721-on-remix-ide/26152)

<div class="topic-metadata">

**Author:** [@Saulius\_S](https://forum.openzeppelin.com/u/Saulius_S)\
**Replies:** 2\
**Last updated:** [March 14, 2022, 1:53pm UTC](https://forum.openzeppelin.com/t/identifier-not-found-erc721-on-remix-ide/26152 "2022-03-14T13:53:38Z")

</div>

Hi all, I try to create simple contract which manages NFTs using ERC721 from openzeppelin My code looks like that: pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/…

---

## [The input of this function can only be decoded sometimes, although the input and the function are not changed?](https://forum.openzeppelin.com/t/the-input-of-this-function-can-only-be-decoded-sometimes-although-the-input-and-the-function-are-not-changed/25979)

<div class="topic-metadata">

**Author:** [@zesl](https://forum.openzeppelin.com/u/zesl)\
**Replies:** 0\
**Last updated:** [March 10, 2022, 6:05pm UTC](https://forum.openzeppelin.com/t/the-input-of-this-function-can-only-be-decoded-sometimes-although-the-input-and-the-function-are-not-changed/25979 "2022-03-10T18:05:19Z")

</div>

I am using Remix with compiler 0.8.9. In the following codes, if contract BBB is deployed, using function aasenderaddr() in BBB with two addresses as function input would result in a "decoded input -" in the console. Ho…

---

## [Deploy ERC1820 registry on Remix VM](https://forum.openzeppelin.com/t/deploy-erc1820-registry-on-remix-vm/24445)

<div class="topic-metadata">

**Author:** [@Christophe](https://forum.openzeppelin.com/u/Christophe)\
**Replies:** 1\
**Last updated:** [February 18, 2022, 11:01pm UTC](https://forum.openzeppelin.com/t/deploy-erc1820-registry-on-remix-vm/24445 "2022-02-18T23:01:46Z")

</div>

Hello, I would like to deploy the ERC-777 smart contract on Remix VM but I got this error: creation of 777TokenContract errored: VM error: revert. revert The transaction has been reverted to the initial state. Note…

---

## [What is ERC721 Contract aka NFT, minting, transfer, pricing, bidding, offer](https://forum.openzeppelin.com/t/what-is-erc721-contract-aka-nft-minting-transfer-pricing-bidding-offer/24587)

<div class="topic-metadata">

**Author:** [@Boluwatife\_Adegbola](https://forum.openzeppelin.com/u/Boluwatife_Adegbola)\
**Replies:** 0\
**Last updated:** [February 13, 2022, 8:43am UTC](https://forum.openzeppelin.com/t/what-is-erc721-contract-aka-nft-minting-transfer-pricing-bidding-offer/24587 "2022-02-13T08:43:58Z")

</div>

Out of curiosity, what is the process to creating a NFT ERC721 smart contract, what is minting a nft token, how to transfer the token, put it up for sale, bidding, on platforms like opensea, rarible, the contract code it…

---

## [Cannot Deploy to AVAX | Internal JSON-RPC error. { "code": -32000, "message": "execution reverted" }](https://forum.openzeppelin.com/t/cannot-deploy-to-avax-internal-json-rpc-error-code-32000-message-execution-reverted/24527)

<div class="topic-metadata">

**Author:** [@Stirate](https://forum.openzeppelin.com/u/Stirate)\
**Replies:** 0\
**Last updated:** [February 12, 2022, 6:11am UTC](https://forum.openzeppelin.com/t/cannot-deploy-to-avax-internal-json-rpc-error-code-32000-message-execution-reverted/24527 "2022-02-12T06:11:56Z")

</div>

Hello, I've been trying to deploy a smart contract to the AVAX C-Chain Mainnet but continue to get this error: Internal JSON-RPC error. { "code": -32000, "message": "execution reverted" } The code snippet that seems t…

---

## [Issue with SwapTokensAtAmount in my contract](https://forum.openzeppelin.com/t/issue-with-swaptokensatamount-in-my-contract/24506)

<div class="topic-metadata">

**Author:** [@rr0x](https://forum.openzeppelin.com/u/rr0x)\
**Replies:** 0\
**Last updated:** [February 11, 2022, 8:45pm UTC](https://forum.openzeppelin.com/t/issue-with-swaptokensatamount-in-my-contract/24506 "2022-02-11T20:45:07Z")

</div>

I know I'm over thinking this issue, but I cannot seem to figure out what to do. I have a smart contract for a BEP20 token. It's set up to convert the buy/sell taxes into BUSD instead of sending tokens to designated addr…

---

## [Dividend Paying token help](https://forum.openzeppelin.com/t/dividend-paying-token-help/14609)

<div class="topic-metadata">

**Author:** [@laalaaala](https://forum.openzeppelin.com/u/laalaaala)\
**Replies:** 5\
**Last updated:** [February 9, 2022, 1:56pm UTC](https://forum.openzeppelin.com/t/dividend-paying-token-help/14609 "2022-02-09T13:56:06Z")

</div>

i wanted a contract with dividend function, so i found a contract and copy paste in remix, i change some things und well done. but the problem is if i deploy the contract i get just 0 tokens and is there a way to test th…

---

## [Why does my mint function throw an insufficent amount error?](https://forum.openzeppelin.com/t/why-does-my-mint-function-throw-an-insufficent-amount-error/23752)

<div class="topic-metadata">

**Author:** [@Jalapina](https://forum.openzeppelin.com/u/Jalapina)\
**Replies:** 4\
**Last updated:** [February 1, 2022, 4:59pm UTC](https://forum.openzeppelin.com/t/why-does-my-mint-function-throw-an-insufficent-amount-error/23752 "2022-02-01T16:59:57Z")

</div>

Hi everyone, I'm testing a smart contract on REMIX, everything works but the mint function provided throws an insufficient amount error even though I have enough ether in my account. It seems like theirs no ether being…

---

## [View function throws an error with block.number](https://forum.openzeppelin.com/t/view-function-throws-an-error-with-block-number/23125)

<div class="topic-metadata">

**Author:** [@Antreas\_Tzionis](https://forum.openzeppelin.com/u/Antreas_Tzionis)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 5:37pm UTC](https://forum.openzeppelin.com/t/view-function-throws-an-error-with-block-number/23125 "2022-01-21T17:37:22Z")

</div>

Looking at https://docs.soliditylang.org/en/v0.8.11/contracts.html#view-functions I understood the solidity view function can work with any function unless it mutate states, emit events or perform any other mutative oper…

---

## [Transfer / transferFrom throwing Safemath / Execution Reverted errors](https://forum.openzeppelin.com/t/transfer-transferfrom-throwing-safemath-execution-reverted-errors/22802)

<div class="topic-metadata">

**Author:** [@Charles\_Taylor](https://forum.openzeppelin.com/u/Charles_Taylor)\
**Replies:** 1\
**Last updated:** [January 19, 2022, 11:29am UTC](https://forum.openzeppelin.com/t/transfer-transferfrom-throwing-safemath-execution-reverted-errors/22802 "2022-01-19T11:29:39Z")

</div>

I have implemented a rudimentary protocol for depositing token A into a smart contract on the BSC Testnet using Remix. First, we specified the IERC20 token address and created two functions to try and deposit it into the…

---

## [Recover remix deleted contract](https://forum.openzeppelin.com/t/recover-remix-deleted-contract/20829)

<div class="topic-metadata">

**Author:** [@michael123](https://forum.openzeppelin.com/u/michael123)\
**Replies:** 3\
**Last updated:** [December 13, 2021, 6:22am UTC](https://forum.openzeppelin.com/t/recover-remix-deleted-contract/20829 "2021-12-13T06:22:41Z")

</div>

I deployed.. added funds... nothing happened. I went to another tab in chrome then came back and noticed metamask was disconnected. I reconnected deployed the same contract left it overnight but nothing. I deleted the co…

---

## [Need help! Error encoding arguments Error: invalid address in remix, can't deploy](https://forum.openzeppelin.com/t/need-help-error-encoding-arguments-error-invalid-address-in-remix-cant-deploy/19988)

<div class="topic-metadata">

**Author:** [@gloccoin](https://forum.openzeppelin.com/u/gloccoin)\
**Replies:** 0\
**Last updated:** [November 30, 2021, 3:19am UTC](https://forum.openzeppelin.com/t/need-help-error-encoding-arguments-error-invalid-address-in-remix-cant-deploy/19988 "2021-11-30T03:19:09Z")

</div>

I get this message in solidity when trying to deploy this to the Binance testnet. I am also having issues verifying PassengerToken.sol after its deployed. Can anybody help? Thanks // SPDX-License-Identifier: MIT pragm…

[Next page](https://forum.openzeppelin.com/tag/remix/62.md?match_all_tags=true&page=1&tags%5B%5D=remix)
