Source [here]

Let’s Do Some Zeppelin, and Some Ganache and Truffles…

--

Have you heard about Open Zeppelin? Well, it’s not the latest tribute band which plays classic Led Zeppelin tracks, but an open-source library that supports a wide range of functions that integrate into smart contracts in Ethereum:

With this, we get a number of solidity code integrations that enhance smart contracts:

The integration is fairly simple, and where we just pick the required solidity file integration (after reviewing it, of course). In the following we integrate with Base64 and Strings:

import "@openzeppelin/contracts/utils/Base64.sol";                             import "@openzeppelin/contracts/utils/Strings.sol";

So, let’s make a smart contract that integrates this code:

--

--

Prof Bill Buchanan OBE FRSE
ASecuritySite: When Bob Met Alice

Professor of Cryptography. Serial innovator. Believer in fairness, justice & freedom. Based in Edinburgh. Old World Breaker. New World Creator. Building trust.