Digix Core Dev Update Nov-2016

  • Chris Hitchcott (Core Dev)

    This week I continued on unit testing whilst sharpening Digix’s testing toolkit. There were a series of upgrades to existing projects we released and the DGX 2.0 test suite.

    I’ll keep it simple this week by roughly outlining my completed tasks:

     — Redesigned API: more powerful and readable
     — `deploy`, `call`, `tx`, `watch` methods
     — `it` and `before` blocks for arbitrary async scripting between steps
     — Fix edge case with TestRPC event (related issue)
     — Updated tests

     — Simplify initialization API
     — Removing naming system; just use address array
     — Add option for keystore password
     — Updated tests

    Solidity Boilerplate
     — Integrate contest / doxity / sigmate
     —EIP20 (con)tests inspired by Consensys’

    DGX 2.0
     — Update contest api
     — Additional tests

    Follow us on Github

  • Digix-Progress Update 17/11/16

    Seattle Digix Presentation

    Anthony Eufemio and Chris Hitchcott presented on smart contract architecture and the suite of dev tools created at Digix respectively last week. The video is currently being edited by the meet up organizers in Seattle, and will be posted as soon as it is ready.

    MAS Fintech Annual Awards, 14 to 18 Nov 2016

    3 Blockchain companies were in the running amongst 40 Finalists in the Annual Fintech Awards 2016 in Singapore. Namely, they were Attores, KeyChain, Digix. We hoped that at least one blockchain company would be recognized for their work but none of us clinched an award this time round.

    Fintech Awards Night

    Digix Mentioned at the awards

    2 Meetups held this week

    2 meetups were ran this week, co organized by Digix. Gavin from Ethcore provided an introduction to Parity to the Singapore community this Tuesday. The video of his presentation is linked here. Special thanks to Attores for providing the recording.

    Gavin on Parity at the Ethereum Singapore Meetup, video:

    We managed to squeeze a quick dinner with the Ethcore team to thank them for their continual work and efforts.

    Dev Work — Migration Wallet
    We have begun preparing a migration wallet for DGX 1.0 users. This will allow users to use their current DGX 1.0 wallets for DGX 2.0.
    More information will be published in a separate blogpost. Thank you.

  • Digix Core Dev Update 24/ 11 / 16

    Chris Hitchcott (Digix Core Dev)

    Greetings! Chris here to once again update you with this week’s development activities. We’ve been busy with continued work on the toolchain and have a few new releases that we’re using in our stack. In order of descending ‘coolness’, here they are:

    Doxity 0.3.0

    https://digixglobal.github.io/DigixMath/docs/DigixMath/For me the most exciting thing to announce is the update to Doxity that now integrates more closely with truffle. So closely, in fact, that if a contract has been deployed with truffle, the generated documentation will contain an interactive GUI so anyone visiting your documentation site can play around with your live deployed contracts — (don’t worry, no transactions, just `call`s).In case you didn’t know Doxity is our recently released tool that automatically generates static HTML webpages from natspec-commented solidity files. Previously this was purely as a nice way of viewing the comments on a published website.But now we’ve gone ahead and made it much cooler by having it interact with real, deployed, on-chain smart contracts. Check out the demo site — which has contracts deployed to morden that you can interact with by filling in the input boxes. Thanks to infura for the hosted node.

    Truffle NPM Libraries

    Example: https://github.com/DigixGlobal/DigixMathDuring devcon I learned about truffle’s 3.0 beta release which includes support for npm-packaged solidity files. Basically, this allows us to leverage node’s package manager with solidity contracts, whilst keeping track of deployment addresses for different network.We’ve now implemented this feature and will be using it for the release for the Digix core contracts. The benefit here is that both Digix and non-Digix developers can extremely easily import our contracts (and even deployed contracts) into their project without having to copy the source code.We hope using this approach will encourage synergies and code-sharing within the solidity ecosystem, and be a foundation for future development patterns similar to this. Peronally I believe that node’s success is closely tied with the excellent NPM, which has become a staple tool for any javascript dev. In time, hopefully it’ll be the same for any Solidity dev, and we’ll have tonnes of easily-shared pre-deployed Solidity contracts that devs can make use from.

    Sigmate 0.2.0

    https://github.com/DigixGlobal/sigmateSigmate is a tool that was being used for keystore management in our core project, signing transactions within the test environment rather than the node. We’ve explained why this is cool in a previous post.This week, along with the aforementioned truffle integration, sigmate has been updated to better integrate with truffle — hooking in at the config file level rather than the test/deploy/execution environment. This makes for a more vanilla-truffle-like experience when running tests and relegates the use of Sigmate to a single line of code in truffle.js.Sigmate now also uses the new wallet keystore format (with a custom ProviderEngine plugin to handle multiple accounts), and we’ve introduced a CLI tool for generating new keystores with minimal effort.

    Migration Tool

    https://digixglobal.github.io/wallet-migration/migrate/Finally, we’ve created a little tool to help with the release of 2.0 — a wallet migration tool that will convert old-style Digix lightwallet keystore into the fancy new `V3` style, which is compatible with Geth and MyEtherWallet.