Python can now be used to program MCUs for blockchain and Internet of Things (IoT) applications through the DesignSpark Zerynth Studio suite, which is available free of charge through a portal on the DesignSpark website. The extension opens up the use of Zerynth for IoT applications and embedded development to the community of programmers who use Python. The extension was made possible with the introduction of the open-source Zerynth Ethereum Library, which enables MCUs to generate and sign Ethereum transactions based on a few lines of Python. Ethereum is an open-source distributed-computing platform that generates the blockchain for the Ether crypto-currency.
The Ethereum library allows easy connection to the Ethereum blockchain allowing developers to use smart contracts and seamlessly integrate IoT devices with decentralised applications (DApps). The ability to generate, sign and send transactions from a microcontroller enables any device capable of running the cryptography algorithms to directly take advantage of smart contracts, which deliver credible and trackable transactions, thereby removing the need for centralised gateways.