Collection Updated 2 years ago

EVM package deployment with ZeppelinOS

This tutorial series shows you how to build and publish an EVM package using ZeppelinOS

zeppelin
evm

3

Articles
Curator
dennisonbertram1
EVM package deployment

This tutorial series shows you how to build and publish an EVM package using ZeppelinOS

EVM package deployment with ZeppelinOS - Part I: Introduction and Creating a LinkedList Contract

Introduction to ZeppelinOS and Package Managers If youre familiar with Node.js, then you will be familiar with NPM (Node Package Manager). You will also know that the ability to npm install existing code in your project makes your life as a programmer easier and, frequently, more secure. Being able to import existing code is a hallmark of a mature developer ecosystem and one of the fundamental tools that allow a programming language to reach an ecosystem of scale. The immense success of Node.js

Dennison Bertram

16 min read

07 Mar 19

EVM package deployment with ZeppelinOS - Part II: Deploying and Testing a LinkedList Contract

Testing and publishing In this section, well make sure the contract weve deployed to our local network works by testing directly against it in Truffle Console. Once were happy it works, well publish to the mainnet and create an EVM package for others to access. Testing Now that we have an instance of our contract, were ready to test it directly in Truffle Console.npx truffle console --network local Again, the network argument tells Truffle to work with our local development network as defined in

Dennison Bertram

11 min read

07 Mar 19

EVM package deployment with ZeppelinOS - Part III: Linking to mainnet

Pulling it all together Now that youve created your first EVM package, lets go through the steps you would take to link it to your project as if you were linking directly from NPM. These commands you already know, so Ill just run through them quickly:mkdir myproject2 cd myproject2 npm init -y zos init myproject2 npm install truffle@5.0.1 Now we need to link the NPM package:zos link <> This will install your NPM package and add it to your zos.json file as a dependency. You will also now find your

Dennison Bertram

5 min read

07 Mar 19