Cardano [ADA] has been in the race for test net releases and wallets like many other coins in the market. They have now announced a Semi-Formal Development specification of the Cardano wallet through a blog post.
The Well-Typed, Haskell Consultant tweeted:
“New blog post on “Semi-Formal Development: The Cardano Wallet.”
As part of their consulting work for IOHK, they have been working on the design and implementation along with IOHK on the new version of the Cardano cryptocurrency wallet. The formal specification specifies and proves many wallet properties but not all which is why it is referred to as “semi-formal.”
A mathematical model of the wallet along with behavioral invariants and lemmas is what the semi-formal specification is about.
A piece of software that monitors the state of the blockchain and keeps a record of the user‘s funds while also allowing them to create new transactions to include in the blockchain is what a cryptocurrency wallet does. The wallet is basically the prime source for the users to interact with the blockchain.
They have stripped down the wallet state to just the wallet’s UTxO and its set of unattended or held-up transactions. These specifications can fit in a single page. The simplicity of the model is enough to be studied deeply and support the mathematical proofs of its properties, and at the same time is accurate enough.
Object-Oriented Programming in Haskell is used to translate the different wallet models from the specifications. Throwing light on the wallet implementation, the Haskell translation of the invariants deal beyond the specifications. This scenario involves detailed error reports when the invariants do not hold.
QuickCheck is the tool that is used for various testing purposes and properties checking. Having the QuickCheck generators to check the real implementation is very valuable as they are used to generate wallet events with the use of a simplified type of models.
The testing can be done by specifying the properties and the model itself formally. The development of the new wallet from IOHK is open source and can be found on GitHub.
Subscribe to AMBCrypto’s Newsletter
Bitcoin [BTC]: Elon Musk reveals holding only 0.25 BTC; recommends Satoshi Nakamoto for a Nobel Prize
Co-Founder of Newly Launched ZBX Exchange Speaking at Stockholm Blockchain Forum
Bitcoin.org co-owner calls out Jack Dorsey; predicts CashApp will push censorship
Ethereum [ETH] dApp users drop as EOS and Tron dominate the market
World Blockchain STO Summit: 29 – 30 April 2019, Dubai, UAE
Bitcoin [BTC] developer Jimmy Song lists 3 reasons why Bitcoin SV [BSV] is a “scam”
Bitcoin [BTC] among cryptocurrencies enabled by new debit card launched by Australian Crypto exchange
Bitcoin [BTC]: Mt Gox redemption plan demonstrates the power of open source network, says Brock Pierce
Tron’s BitTorrent [BTT] hikes by a whopping 18%; airdrop concludes
Ripple allegedly offering attractive XRP packages as an incentive to prospective hires
- Press Release
A New Generation of Crypto-Exchange: ALL IN ONE Crypto-Exchange
- Bitcoin Cash
Bitcoin Cash [BCH] support rolled out by Coinbase custodial wallet app
Cryptocurrency Adoption: Institutional investors should consider cryptocurrencies, says pension and endowment adviser Cambridge Associates
EOS and Litecoin [LTC] lead the charge as the cryptocurrency market continues to rise