Questions tagged [remix]

Questions about Remix, an integrated development environment (IDE) for smart contract development. Remix focuses on the development and deployment of Solidity written smart contracts using the Ethereum blockchain.

Questions about Remix, an integrated development environment (IDE) for smart contract development. Remix focuses on the development and deployment of Solidity written smart contracts using the Ethereum blockchain.

Related tags: ,

729 questions
4
votes
2 answers

Error: insufficient funds for gas * price + value

I am going through the first tutorial in the Ethereum website. I've compiled the contract code using Remix and have created the following script. I have removed the binary strings for brevity: var _greeting = 'Hello World!'; var…
Matias Faure
  • 822
  • 1
  • 9
  • 20
4
votes
4 answers

Solidity Remix simple questions

Am new to Solidity here, this is the code I am testing and remix spits out browser/Untitled.sol:1:1: : Source file does not specify required compiler version!Consider adding "pragma solidity ^0.4.12 contract C { ^ Spanning multiple lines. Hopefully…
metalbean
  • 101
  • 2
  • 4
3
votes
1 answer

how to hardcode bytes in solidity?

How can I hard code bytes in solidity for a static call? Ive tried: bytes memory data = "0xfeaf968c"; bytes memory data = \xfeaf968c"; It works when I manually enter it as an input parameter, while it fails for some reason when I externally call it…
Matt Jaf
  • 339
  • 2
  • 8
3
votes
1 answer

Difference between Resumability , Hydration and Reconcillation in modern web app?

What are the main differences between Resumability , Hydration and Reconcillation ? We know Resumability is future of web app, Is it possible to make most of the current meta framework (Nextjs,Remix, Sveltekit, Solidstart, etc.. ) resumable ?
Harsh Mangalam
  • 1,116
  • 1
  • 10
  • 19
3
votes
2 answers

Tailwind not applying the styles when working with remix

i've followed this guide : https://tailwindcss.com/docs/guides/remix step by step (twice,to be sure). yet nothing works. my tailwind config js looks like that : /** @type {import('tailwindcss').Config} */ module.exports = { content:…
NewbieAeg
  • 557
  • 3
  • 8
  • 15
3
votes
0 answers

Gas estimation error - execution reverted { "originalError": { "code": 3, "data": "0xfb7f5079", "message": "execution reverted" } }

I have a contract deployed on the rinkeby testnet. It is basically a clone of uniswapV2. Whenever I try to call the router contract's addLiquidity/ removeLiquidity/ swapTokens functions this error pops up. All other functions in other contracts are…
newbie
  • 41
  • 3
3
votes
2 answers

What's the meaning of this warning in solidity?

When I was writing my code I got warning at 10th line of my code. Can anyone tell me what's this warning means? My Code // SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.0 < 0.9.0; contract PracticeTest // It's a class { string name…
Ali Hassan
  • 53
  • 1
  • 9
3
votes
3 answers

How to resolve the error "Invalid type for argument in function call. Invalid implicit conversion from address to address payable requested"

I'm getting this error in remix: Invalid type for argument in function call. Invalid implicit conversion from address to address payable requested It refers to msg.sender on line number 9 below. Here is the code I'm writing: function…
GGbro
  • 41
  • 1
  • 4
3
votes
0 answers

Can not verify Smart Contract with @chainlink

I can not verify my test smart contract on BSC Main Network using @chainlink. // SPDX-License-Identifier: MIT pragma solidity ^0.6.7; import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol"; contract PriceTest { …
Yusnee
  • 177
  • 11
3
votes
1 answer

Implementing buying and selling in Solidity

So i want to be able to buy/sell the token, but also have the ability for users to send eth to my contract wallet and receive my tokens in exchange. I believe i have the code ready for buyers and sellers to make a transaction together, dont think i…
Nalks_
  • 33
  • 1
  • 1
  • 5
3
votes
1 answer

Error with old version of Web3 when trying to log Remix contract

I'm trying to get the details logged on the browser console from a simple Remix contract. However, when I try the following html, I get an error saying: web3.eth.contract is not a function Looking through the documentation, I see that…
johan855
  • 1,578
  • 4
  • 26
  • 51
3
votes
1 answer

SOLIDITY REMIX compiler, after deploying my contract getting this ERROR (Invalid BigNumber string)

I'm working on my Udemy course project .. the problem with this course is that been used old version solidity 0.4.17.. I'm trying to update this project to a current version... after updating the code and tried to compile on Remix compiler... it…
Juodas Baltas
  • 305
  • 1
  • 4
  • 6
3
votes
0 answers

Solidity - String Template Literal

How do I use string template literals on Solidity like JavaScript offers out of the box? I need to write a multiline string in my ERC20 and would like to leverage something that doesn’t require me writing a bunch of /n i.e. const…
Null isTrue
  • 1,882
  • 6
  • 26
  • 46
3
votes
1 answer

Problem when deploying contract using Remix on Testnet

I tried to deploy a contract to Testnet with Remix (all Testnet return the same message) and I got this error: Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force…
marvin
  • 45
  • 1
  • 6
3
votes
5 answers

Call to plugin has timed out compilerMetadata - deployMetadataOf - {"from":"udapp","path":"compilerMetadata"}

I'm getting an error in the remix ide: call to plugin has timed out compilerMetadata - deployMetadataOf - {"from":"udapp","path":"compilerMetadata"} The error is also seen as: [TIMED OUT]: Call to method "deployMetadataOf" from "udapp" to…
nolanjacobson
  • 165
  • 2
  • 8
1 2
3
48 49