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
2
votes
0 answers

Append data to streaming response

I am creating an application built on top of OpenAI's chatGPT. I am using their API's streaming option to allow streaming. In my Remix (nodejs) backend, I simply pipe the response through to the client: const theresponse:any = await…
PoeHaH
  • 1,936
  • 3
  • 28
  • 52
2
votes
0 answers

How do I publish my file from Remix IDE to IPFS?

So i'm using remix IDE for my project and i only have one single file named crop.sol I have uploaded it to ipfs using ipfs add -r filename and i have ipfs daemon on a seperate terminal active and it says its ready the webui of ipfs(where i can see…
2
votes
1 answer

How can I disable react StrictMode on remix dev?

I'm trying to build a remix application, and it seems all of my components are loaded twice. Looking at remix's code it seem like they add a React StrictMode component when rendering from dev (note that building and rendering via npm build && npm…
aherve
  • 3,795
  • 6
  • 28
  • 41
2
votes
0 answers

How can you use Sass Modules with Shopify Hydrogen V2?

I'm exploring using Hydrogen instead of Next.js Commerce for building out an ecommerce platform that I'm working on, but the only styling option for Hydrogen V2 seems to be tailwind or vanilla CSS. I can't find any documentation anywhere for using…
2
votes
1 answer

How to set up remix with aws cdk

I’m learning remix and trying to set up a remix project that uses aws cdk to do the server. I have found a GitHub example here: https://github.com/ajhaining/remix-cloudfront-cdk-example But it doesn’t really explain how or what’s going on / how to…
Oliver Darby
  • 454
  • 1
  • 6
  • 15
2
votes
0 answers

Why the bytecodes for the same smart contract in testnet explorer and Remix/solcjs are different?

I am using Remix to compile and deploy my smart contract to Rinkeby and RSK test networks. I don't understand why the bytecode of my contract on Rinkeby explorer is different from the metadata.data.deployedBytecode.object in Remix artifacts and also…
Aleks Shenshin
  • 2,117
  • 5
  • 18
2
votes
2 answers

How to make Remix work with react material ui icons

I'm working on a POC with remix + react material (as that's what we use in our main app). I've gotten most things working but I can't get icons to work. Any page that has an icon just hangs and remix yells at me. Lambda…
cphilpot
  • 1,155
  • 3
  • 17
  • 39
2
votes
1 answer

How to set expiry time for reset password link - Supabase

Have some doubts in Supabase reset-password How can we make the email link a One-time click to reset the password? If the user uses that link again it should not reset the password. How can we make the expiry time on the reset password link to 5…
Haris George
  • 291
  • 5
  • 16
2
votes
0 answers

Error on flash loan contract testing it on Kovan when increasing the amount of the lend

I am following this tutorial on Kovan Netork using Remix... The first contract I created worked fine (contract address is 0x567B73a65E211a62966772071C156A5B2Ecdc21F) - I made a loan of 1 DAI (asset address…
Alucard
  • 16,628
  • 7
  • 24
  • 23
2
votes
2 answers

Why does gas cost depends on function input?

I was testing this code using Remix. I was wondering why the execution cost of the function (in gas) depends on the input x. The cost seems to increase in multiples of 12 as the value of x increases. I haven't found a pattern. //…
vipin
  • 1,610
  • 3
  • 16
  • 27
2
votes
1 answer

@remix-run/node & Cloudflare page

I'm using cloudflare page template and I don't import @remix-run/node anywhere. Also package.json file doesn't involve @remix-run/node But after yarn install, @remix-run/node is created and when I try to compile then an error occurs. X [ERROR] Could…
2
votes
0 answers

ECDSA: invalid signature length error while, when using the signature provided by remix ide

i am signing messsage in remix ide, and am trying to verify the signature and data as below bytes32 hashInput=keccak256(bytes(temp)); bytes memory…
Adarsh Raj
  • 297
  • 4
  • 14
2
votes
3 answers

Is it considered good practice to use contract functions once when deployed?

I have many getters and setters in my contract, for example: function setMintRate(uint256 _mintRate) public onlyOwner { mintRate = _mintRate; } If I deploy my contract to mainnet Ethereum, is it considered good practice to call these functions…
josemartindev
  • 1,413
  • 9
  • 17
2
votes
5 answers

No autocomplete/code completion on Remix?

I was watching a tutorial on Youtube on Remix and he has autocomplete while typing code but I don't. Does anyone know how to enable it? This would help me code so much easier and I can't find solutions to this anywhere.
gcb140
  • 19
  • 2
2
votes
3 answers

Solidity - Contract not working as expected

I am new to Solidity and Ethereum. I am at the stage where I have worked with basic HelloWorld and similar examples. I have created a contract to generate a random number as follows // SPDX-License-Identifier: MIT pragma solidity >=0.4.22…
Nomad
  • 771
  • 4
  • 9
  • 19