LimeChain
Published in

LimeChain

Truffle 5.0.6, complex maths for solidity and what if quantum computers break us?

Blockchain Dev Weekly Digest 04.03.19

In this weeks Blockchain Developer Weekly Digest we take a look at what has happened with the networks over the past week, showcase noteworthy updates of some popular libraries and highlight some new ones. I’ve also included a couple of masterful articles from Richard Moore and Band Protocol.

Networks Updates

Ethereum Constantinople fork went well. First CREATE2 was executed

Resource: https://etherscan.io/address/0xe36613a299ba695aba8d0c0011fce95e681f6dd3#code

First things first, honourable mention, Ethereum's Constantinople fork went ahead successfully on 28th of February. The first few contracts created via the CREATE2 opcode were executed successfully. I look forward to massive improvements from state channels and meta transactions projects.

Libraries updates

Truffle 5.0.6 Released

Resource: https://github.com/trufflesuite/truffle/releases/tag/v5.0.6

Truffle has released a new version. Major improvements are made on the truffle debugger and the output of the compiler.

  • On the debugger side, massive enhancements are made on the decoding of solidity data types. Also, remaining gas is displayed while debugging.
  • Some small breaking changes were introduced for the debugger too, but this is only applicable to people using the debugger programatically.
  • On the compiler output, the compile command now outputs the version of the compiler that is used for the current execution.
  • In addition a new command for fetching and storing certain solc version is also now available.

Web3js updated

Resource: https://github.com/ethereum/web3.js/releases/tag/v1.0.0-beta.47

Web3.js has released a new version — beta 47.

This version consists of large amount of bugfixes and improvements to the accounts and decoder modules.

New Libraries

Lambdeth — library for working with arrays

Resource: https://github.com/siromivel/lambdeth/blob/master/contracts/Lambdeth.sol

Fun new little library for working with arrays has come to life. The name of the new library is Lambdeth and aims to allow the Solidity developers to work much easier with arrays. Some common programming things the library can do — concat, contains, map, filter, slice and unique.

Elliptic Curve Library to work with more than secp256k1

Resource: https://github.com/tdrerup/elliptic-curve-solidity

Brand new library has been released allowing us to work with elliptic curves that are not the Ethereum standard secp256k1. You will now be able to use other curves for your cryptography and do the same verifications as the ones ecrecover allows. Curves supported by the library:

  • secp256r1
  • prime256v1
  • p256

Tutorials & Articles

Article — If Quantum Computing was to break the Ethereum Network

Resource: https://blog.ricmoo.com/ethereum-post-quantum-recovery-dffc9ab0ca3e

Richard Moore, the author of ethers.js and multitude of other projects, has gone above and beyond to research and think about the possibility of Quantum Computing. In his article, he describes areas where quantum computing will prove much problematic and suggestions on how we can safeguard ourselves against these problems.

Tutorial — Complex maths expressions in solidity

Resource: https://medium.com/bandprotocol/encoding-and-evaluating-mathematical-expression-in-solidity-f1bb062fa86e

BandProtocol — a toolkit for building decentralized curation communities — has published a wonderful tutorial/article on how one can actually encode and evaluate complex mathematical expressions in solidity.

This, of course, is a major topic for anyone working with bonding curves and TCRs, so take a look at this article and make the most of it yourselves.

Look forward to next week…

Minerva Aeternity Hard Fork Coming

Resource: https://blog.aeternity.com/the-minerva-fork-improvements-windows-node-and-new-apis-f3c00c5c2a40

Aeternity network is supposed to have it’s first hard fork on 6th of March. This hard fork will bring many improvements, mostly on the stability of the network and major improvements of the the natively built state channels.

EthCC this week

Resource: https://ethcc.io/

Last but not least, Ethereum Community Conference is happening this week in Paris. Long list of speakers there so tune in for news and knowledge coming out of France. Also, I will be there, so if you see me and wanna chat with me or tell me how much my videos suck, please do come and do so. See ya in Paris!

About the author: George Spasov, Co-founder and Blockchain Architect @LimeChain, has developed multitude of blockchain projects — public and private — and is prominent member of several blockchains communities. He is most recognised for his work on Etherlime — the ECF and ETHPrize ethers.js-based development and deployment framework, LimePay — the UX solution for executing blockchain transactions with credit card and being one of the first members of the MetaCartel — the meta-transactions community.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store