EIP-712: Quick Intro and Use case
https://eips.ethereum.org/EIPS/eip-712 Abstract This is a standard for hashing and signing of typed structured data as opposed to just bytestrings. It includes a theoretical framework for correctness of encoding functions, specification of structured data similar to and compatible with Solidity structs, safe hashing algorithm for instances of those structures, safe inclusion of those instances in the set of signable messages, an extensible mechanism for domain separation, new RPC call eth_sig...
How Tornado Cash works
Tornado Cash is a coin mixer that you can use to anonymize your Ethereum transactions. Because of the logic of the blockchain, every transaction is public. If you have some ETH on your account, you cannot transfer it anonymously, because anybody can follow your transaction history on the blockchain. Coin mixers, like Tornado Cash, can solve this privacy problem by breaking the on-chain link between the source and the destination address by using ZKP.Deposit:Users deposit the same amount of ET...
Bytes and String in Solidity
1. If we know the size of the bytes we want to store, the best approach is to use the fixed size byte array type To initialize a fixed size byte array, we need to specify the size of how many bytes we would like to store.bytes1 b1 = hex"41"; Bytes can be initialized with either a hex string hex"41" or a hex value 0X41 which is the letter A according to ASCII. 2. Fixed size bytes can be passed between smart contracts in the Solidity programming language. 3.bytes and bytes32 Bytes is a dynamic ...
Blockchain Developer
EIP-712: Quick Intro and Use case
https://eips.ethereum.org/EIPS/eip-712 Abstract This is a standard for hashing and signing of typed structured data as opposed to just bytestrings. It includes a theoretical framework for correctness of encoding functions, specification of structured data similar to and compatible with Solidity structs, safe hashing algorithm for instances of those structures, safe inclusion of those instances in the set of signable messages, an extensible mechanism for domain separation, new RPC call eth_sig...
How Tornado Cash works
Tornado Cash is a coin mixer that you can use to anonymize your Ethereum transactions. Because of the logic of the blockchain, every transaction is public. If you have some ETH on your account, you cannot transfer it anonymously, because anybody can follow your transaction history on the blockchain. Coin mixers, like Tornado Cash, can solve this privacy problem by breaking the on-chain link between the source and the destination address by using ZKP.Deposit:Users deposit the same amount of ET...
Bytes and String in Solidity
1. If we know the size of the bytes we want to store, the best approach is to use the fixed size byte array type To initialize a fixed size byte array, we need to specify the size of how many bytes we would like to store.bytes1 b1 = hex"41"; Bytes can be initialized with either a hex string hex"41" or a hex value 0X41 which is the letter A according to ASCII. 2. Fixed size bytes can be passed between smart contracts in the Solidity programming language. 3.bytes and bytes32 Bytes is a dynamic ...
Blockchain Developer

Subscribe to Hicss

Subscribe to Hicss
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
Minimize on-chain data
Use libraries
Use ERC1167
Turn on the Solidity optimizer
Use events
Use literal instead of computed values
Avoid to copy arrays in memory
Avoid for-loop over dynamic ranges
Optimize order of variable declaration
Use eth-gas-reporter



Minimize on-chain data
Use libraries
Use ERC1167
Turn on the Solidity optimizer
Use events
Use literal instead of computed values
Avoid to copy arrays in memory
Avoid for-loop over dynamic ranges
Optimize order of variable declaration
Use eth-gas-reporter



No activity yet