Prove you know your Private Key with ZK + Truffle news

Blockchain Dev Weekly Digest 15.04.19

George Spasov
LimeChain
3 min readApr 15, 2019

--

Yo, ladies and gents! Welcome to the edition of the blockchain dev digest for the week where Vitalik Buterin dropped the rhymes in Australia.

This episode is dominated by news about ZK libraries advancements and Truffle updates. Last but not least, we have an article from 0xcert, showing how one can approach testing their smart contracts on mainnet.

Tools and Libraries updates

Truffle Teams + Truffle 5.0.12

Resource: https://truffleframework.com/teams
https://github.com/trufflesuite/truffle/releases/tag/v5.0.12

The Truffle group had two main news this week. First of all, Truffle 5.0.12 is now released. The release contains improvements on the documentation, the CLI behaviour of unbox and a fix of an issue with the debugger. If you try to place a breakpoint on a blank line or variable declaration, the debugger will now automatically advance to the next stoppable point.

Second, Truffle Teams was unveiled. Truffle teams is a continuous integration solution for teams using truffle. With it you will share common compilation and unit testing environment and streamline your delivery process.

websnark

Resource: https://www.iden3.io/post/websnark-zksnarks-generation-browser-now-fast-and-easy

One of the best companies working on ZeroKnowledge area has released a new library — websnark. It is a library to generate zero knowledge proofs from the web browser. This library is fully written in web assembly and allows you to generate zero knowledge proof from the browser (desktop or mobile) in a few seconds in the most common use cases.

Among others, those usages include: anonymous voting, anonymous transfers, proving of a claim without revealing your identity, etc.

ZoKrates Latest Release

Resource: https://medium.com/zokrates/building-identity-linked-zksnarks-with-zokrates-a36085cdd40

ZoKrates, the toolbox for ZkSNARKs for Ethereum has released a new version. The new version comes with inbuilt Elliptic Curve Cryptography for the ZoKrates language. You can now easily create proofs that you know the private key of a certain public key.

In addition and as a nice transition to the next section, the ZoKrates team gives a tutorial on how one can prove the knowledge of a certain private key without showing it and tying it to their identity.

Knowledge sharing

Testing smart contracts live without spending gas

Resource: https://0xcert.org/news/live-testing-smart-contracts-with-estimategas-william-entriken-tadej-vengust/

The 0xcert team has written a very nice tutorial showing a technique that allows you to test any deployed contract in arbitrary ways, without spending gas.

The tutorial includes techniques such as using “estimategas”, The singleton transaction pattern, stubs and artifacts.

Like what you read and perhaps curious about what LimeChain is up to?

Follow us on:

https://twitter.com/GSpasov

https://twitter.com/LimeChainHQ

https://twitter.com/etherlime

https://limechain.tech/

About the author: George Spasov, Co-founder and Blockchain Architect @LimeChain, has developed a multitude of blockchain projects — public and private — and is a prominent member of several blockchains communities. He is most recognized 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 a credit card and being one of the first members of the MetaCartel — the meta-transactions community.

--

--