Ethereum, solidity, contractdevelopment, contractdesign & much more…
Solidity News Wednesday, July 11
- Securify: Security Scanner for Ethereum Smart Contract
- 1st Solidity Gas Golfing Contest
- Do modifiers work in interfaces
ethereum, solidity, contractdevelopment, contractdesign, compiler
- Deploying dapp on ETH & ETC problem
ethereum, solidity, ethereumclassic, bytecode
- Incorrect values being passed
ethereum, solidity, storage, logs
- Check out my CryptoZombie Gareth!
- Can a contract emit another contract’s event?
- solidity – Get the public address & key associated with one of the Ganache accounts using Web3.js? – Ethereum Stack Exchange
ethereum, solidity, web3js
- solidity – ERC 721 rental contract – Ethereum Stack Exchange
ethereum, solidity, goethereum, dapps, erc721
- Discord – Free voice and text chat for gamers
仮想通貨, 草コイン, エアドロップ, エアドロ, airdrop, 国産コイン
- A contract is exposed to gas-dependent reentrancy if: (1) the amount of transferred ether depends on state that gets updated only after the transfer is made and (2) the amount of gas handed to the caller depends on amount of available gas.
- The call instruction for ether transfer grants control over the transaction execution to the ether receiver while handing all available gas, and this allows the receiver to call the contract again (before its state is updated) to receive the same amount of ether again.
- An attacker can repeat this process until the contract’s balance is drained.
- The balance of the wallet is set to zero out only after it is transfered to the transaction sender.
- This contract is vulnerable to a gas-dependent reentrancy because it uses the call.value() statement, which transfers all available gas to msg.sender and also it updates the state of the contract (setting the balance to zero) after the call statement is executed.
@tweedentity: Just checked the code of our smart contracts with Securify (https://t.co/8mdDId2qGT). While, happily, there are no… https://t.co/8LWJlHWJ0Z
- The Solidity Gas Golfing Contest is a competition for Solidity coders to produce the most gas-efficient code they can for a series of straightforward challenges.
- Anyone can enter by providing a valid Solidity contract to the submission form; the SGGC server will then compile and run your contract, and if it passes all the tests, will add it to the leaderboard.
- For templates and documentation for each of the challenges, and test vectors to check your code against, download this truffle project or this embark project.
- Note that the test vectors used by the SGGC server are different from those provided – so make sure your code runs as efficiently as possible on all inputs!
- Source code for each challenge is kept on the server, and will be made available at the end of the contest.
- No, maybe with abstract contracts you can achieve something similar – – First of all to create an interface the keyword should be used (I used version 0.4.24 of solidity and the solidity documentation.
- I played a little bit with your code and when you try to create a function in an interface with a modifier, like this: – – Therefore, apparently, you cannot enforce a modifier in an interface.
- Maybe you can try with an abstract contract and the template method pattern: – – So when you create a concrete subcontract can specify the function: – – Obviously with abstract classes you can also avoid the function getOwner in this way: – – and so you can instantiate a…
@StackEthereum: Do modifiers work in interfaces https://t.co/XPgP2VyHUg #ethereum #solidity #contractdevelopment #contractdesign #compiler
- I thought it would be cool to have my ETH dapp also on ETC blockchain.
- It runs on ETH blockchain with no problem so I took a bytecode a let it deploy on ETC through mycrypto.com.
- Are there any differences between how smart contracts work on ETC and ETH blockchain?
@StackEthereum: Deploying dapp on ETH & ETC problem https://t.co/NYC3oWh8FD #ethereum #solidity #ethereumclassic #bytecode
- I am trying to copy stored values using the following internal value.
- However, the log does not return the correct values.
- Instead, it returns the following: – – Why are the values incorrect?
@StackEthereum: Incorrect values being passed https://t.co/j1plYm6axv #ethereum #solidity #storage #logs
@tokenconsult: What a great way to learn #solidity with #CryptoZombies. Long way to go though! https://t.co/pcHI2eynX3
@StackEthereum: Can a contract emit another contract’s event? https://t.co/JaA8LVHHZ6 #ethereum #solidity
solidity – Get the public address & key associated with one of the Ganache accounts using Web3.js? – Ethereum Stack Exchange
@StackEthereum: Get the public address & key associated with one of the Ganache accounts using Web3.js? https://t.co/Cw2ScBraV3 #ethereum #solidity #web3js
@StackEthereum: ERC 721 rental contract https://t.co/Xsaa64gpLH #ethereum #solidity #goethereum #dapps #erc721
@montamtaro: プロ/アマ問わない声優業界の支援を目指す仮想通貨「声優コイン」誕生！エアドロイベント開始！https://t.co/JsvfcFznvw #仮想通貨 #草コイン #エアドロップ #エアドロ #airdrop #国産コイン… https://t.co/VaRxUdHfcb
Top Solidity Courses
Getting Started with Ethereum Solidity Development (6,530 students enrolled)By Sebastien Arbogast
- Understand the basic philosophy behind the blockchain and distributed/decentralized applications
- The basics of how a blockchain generally works, just enough to be able to use it as a development platform
- Develop a distributed application, from creating a blank project to deploying it in production all the way through writing smart contracts, unit testing them, and creating a user interface for them
- How to combine the right tools to put together a consistent development environment
- The fundamentals of the Solidity smart contract language
- How to use the Truffle build and testing framework
- How to deploy a decentralized app to various Ethereum instances (testrpc, private chain, test chain, main net)
Ethereum Blockchain Developer: Build Projects Using Solidity (10,937 students enrolled)By Ravinder Deol
- Be Proficient In Solidity Programming By Building Projects In This Course.
- Understand Blockchain Technology At A Theoretical And Practical Level.
- Be Aware On A Practical Level Of How Smart Contracts Operate.
- Be Able To Work With The Ethereum’s Major Core Development Tools.
- Understand The Core Development Functions Of Ethereum.
- Understand What Decentralisation Is As We’re Working With This Technology.
- Be Able To Explain The Structure Of A Solidity Clearly Through Practical Examples.
- Understand How To Use Web3 In Conjunction With The Project We’re Creating.
- Be Proficient In Advanced Development With Truffle And Ethereum Studio.
- Complete A Final Assignment Which Consists Of An Ethereum Blockchain Based Curriculum Vitae.
Ethereum : Decentralized Application Design & Development (9,794 students enrolled)By Rajeev Sakhuja
- Leverage the Ethereum tools/software such as Wallet, Geth, MetaMask, Remix, TruffleV4, Ganache....
- Create an ERC20 Compliant token to launch an Initial Coin Offering (ICO)
- Setup Private Blockchain Network
- Develop Smart contracts in Solidity using multiple tools such as Web3/Ganache/TruffleV4/Mocha framework
- Comfortably describe how Ethereum Blockchain works | Ethers, Gas, POW, POS, Nodes ...
- Describe how the Blockchain technologies work | Distributed Ledgers, Consensus, Mining ....
- Develop end to end Decentralized Applications (DAPP) on Ethereum platform
- Setup private Ethereum networks for development & experimentation
- Identify and use the right design patterns for developing smart contracts
- Architect, Design & Build real use cases on Ethereum platform
The Complete Ethereum Course: Get .001 Ether In Your Wallet (4,273 students enrolled)By Ravinder Deol
- Understand how Ethereum, the emerging cryptocurrency works, and get involved with it practically as well as learning the theoretical side of the cryptocurrency.
- Realise how becoming an early adopter of Ethereum gives you the best chance to capitalize on its rise, as many would have missed the meteoric rise of Bitcoin.
- Undertake your first ever Ethereum transaction by receiving .001 Ether from me for completing this course, I will of course walk you through how to setup your wallet.
Compile Your First Ethereum Smart Contract With Solidity (245 students enrolled)By Will Bunker
- Compile a basic smart contract
- Set a private blockchain for testing
- Deploy smart contract to blockchain
- Call the functions on smart contract.
Learn Solidity: Programming Language for Smart Contracts (3,153 students enrolled)By Toshendra Sharma
- Develop Ethereum Smart Contracts using Solidity
- Understand the basics & advance features of Solidity & Ethereum Virtual Machine
- Develop their own decentralized blockchain applications