Questions tagged [immutable]

The immutable keyword can be used on state variables which causes them to be read-only, but assignable in the constructor. The value will be stored directly in the code.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

Options when it comes to NFT's on Layer 2 and Side Chains?

I am currently developing an NFT marketplace using the @ourzora media contracts, and auction contracts. As most of you know, these are some of the most expensive contracts in terms of transaction fees....
1
vote
0answers
30 views

How Ethereum NFT Protect Artist Work ( How NFT IMMUTABILITY works on BLOCKCHAIN)?

Hi Guys let discuss how NFT Immutable works on ethereum blockchain I'm new to nft, just created my first one with opensea:) as in image1. My question https://imgur.com/a/KX6TRgi Is my art piece on ...
0
votes
1answer
40 views

How to verify that a smart contract was deployed by us?

I would like a method called from Solidity to either verify the hash of an entire smart contract's code, or read some immutable EVM property that contracts expose that say who deployed them, e.g. a ...
1
vote
1answer
51 views

Cannot reproduce Etherscan verified compilation for 0.6.6 contract

I'm trying to reproduce the following contract compilation on Etherscan: https://etherscan.io/address/0x7a250d5630b4cf539739df2c5dacb4c659f2488d#code. Runtime bytecode on-chain I can get the runtime ...
0
votes
1answer
41 views

Is Ethereum blockchain really temper proof or immutable?

Suppose there is a user A which transfers some ethers to user B through a proper transaction. So is it possible to alter the transaction. Something like going back to the block which contains the ...
1
vote
1answer
85 views

What is the best way to store data/information while writing smartcontract?

Smart contracts are immutable. Unless we're 100% sure that our smart-contract is fully functional without any exception we never want to push that in the main net. That's why we have public test net. ...
0
votes
1answer
123 views

Is it feasible to write a DApp that targets multiple blockchains

This question does not target Ethereum specifically, but I hope you can help me out! If my questions are too specific, I apologize in advance. I'm trying to utilize Blockchain's immutable + provable ...
4
votes
1answer
1k views

What is the difference between the constant and immutable keywords in Solidity?

What is the difference between the constant and immutable keywords in Solidity and how do I use them?
14
votes
1answer
4k views

What is the immutable keyword in Solidity?

What is the immutable keyword in Solidity and how do I use it?