SlideShare a Scribd company logo
Setting Up a Solidity
Environment
By Angello Pozo & Jason Robert
What is Solidity?
• Compiles down to op codes that are run on Ethereum
• Use the Blockchain as a server and a DB
Image of What’s Happening
For Local Development
• Node.js (system program)
• Solc (npm package)
• Truffle (npm package)
• Testrpc (npm Package)
Installing Node
Mac
1. Install Homebrew
(https://brew.sh)
2. Open command line
1. brew install node
2. node -v
Windows
• Go to https://nodejs.org/en/
• Open command line
• node -v
Install Global NPM Packages
1. In command line
1. npm install solc –g
2. npm install truffle –g
3. npm install ethereumjs-testrpc -g
Creating Project with Truffle
• In the command line
• cd ~ && mkdir code && cd code
• truffle init
• ls -la
• Open a new terminal tab or window
• testrpc
Solidity intro
Let’s See it Working!!
• Command line
• truffle compile
• truffle migrate –reset
• truffle test
Minor Change to Tests
• Go to link
• Short  http://bit.ly/2o6lM5L
• Raw  https://gist.github.com/sogoiii/d3b512aab0623d4ad1da5c5bde3d3323
• Copy and paste over the `./test/metacoin.js` file
• Run `truffle test` in command line
Contact Us @ www.hellosugoi.com
• Angello Pozo
• angello@hellosugoi.com
• https://medium.com/@angellopozo
• Jason Robert
• jason@hellosugoi.com
• https://medium.com/@jason.robert
Follow us on Twitter: @hellosugoi

More Related Content

PDF
Using Nagios to monitor your WO systems
PPTX
Open v switch20150410b
KEY
20111126 ns2 installation
PDF
Monitoring of OpenNebula installations
PDF
Direction of building ns2 using cygwin under windows system
PDF
Build and deployment
PPTX
PPTX
OVN - Basics and deep dive
Using Nagios to monitor your WO systems
Open v switch20150410b
20111126 ns2 installation
Monitoring of OpenNebula installations
Direction of building ns2 using cygwin under windows system
Build and deployment
OVN - Basics and deep dive

What's hot (20)

PDF
Open shift intro for Philly PUG
PDF
How choosing the Raft consensus algorithm saved us 3 months of development time
PDF
using Virtualbox NAT and shared folder
PPT
Workshop For pycon13
PDF
HTTPプロクシライブラリproxy2の設計と実装
PDF
How to use miniedit
PDF
Aleksandr Matrosov, Eugene Rodionov - Win32 Duqu - involution of Stuxnet
PPTX
ON.LAB Mininet
PDF
[Js hcm] Deploying node.js with Forever.js and nginx
PDF
PDF
Abusing Interrupts for Reliable Windows Kernel Exploitation (en)
PDF
Docker orchestration using core os and ansible - Ansible IL 2015
PDF
Lab 5: Interconnecting a Datacenter using Mininet
PDF
OpenWrt From Top to Bottom
PPTX
LinuxKit
PDF
LF_OVS_17_OVN and Containers - An update.
PDF
My Learnings on Setting up a Kubernetes Cluster on AWS using Kubernetes Opera...
PDF
Red Hat demo of OpenStack and ODL at ODL summit 2016
Open shift intro for Philly PUG
How choosing the Raft consensus algorithm saved us 3 months of development time
using Virtualbox NAT and shared folder
Workshop For pycon13
HTTPプロクシライブラリproxy2の設計と実装
How to use miniedit
Aleksandr Matrosov, Eugene Rodionov - Win32 Duqu - involution of Stuxnet
ON.LAB Mininet
[Js hcm] Deploying node.js with Forever.js and nginx
Abusing Interrupts for Reliable Windows Kernel Exploitation (en)
Docker orchestration using core os and ansible - Ansible IL 2015
Lab 5: Interconnecting a Datacenter using Mininet
OpenWrt From Top to Bottom
LinuxKit
LF_OVS_17_OVN and Containers - An update.
My Learnings on Setting up a Kubernetes Cluster on AWS using Kubernetes Opera...
Red Hat demo of OpenStack and ODL at ODL summit 2016
Ad

Viewers also liked (20)

PDF
Etherem ~ agvm
ODP
Dapps for Web Developers Aberdeen Techmeetup
PDF
Ethereum @ descon 2016
PDF
日本のIT市場のトピックス
PPTX
Vision for a health blockchain
PDF
"Performance Analysis of In-Network Caching in Content-Centric Advanced Meter...
ODP
Introduction to Idea
PDF
Etherisc Versicherung neu erfinden
PPTX
The Ethereum ÐApp IDE: Mix
PPTX
Learning Solidity
PDF
Ingredients for creating dapps
PPTX
Introduction to Ethereum
PPTX
The Ethereum Geth Client
PDF
Build dapps 1:3 dev tools
PDF
The future of Blockchain
PPTX
Solidity Simple Tutorial EN
ODP
State of wifi_2016
PPTX
How smart are those smart contract
PDF
Wysiwig on Rails
PPTX
Ethereum Smart Contract Tutorial
Etherem ~ agvm
Dapps for Web Developers Aberdeen Techmeetup
Ethereum @ descon 2016
日本のIT市場のトピックス
Vision for a health blockchain
"Performance Analysis of In-Network Caching in Content-Centric Advanced Meter...
Introduction to Idea
Etherisc Versicherung neu erfinden
The Ethereum ÐApp IDE: Mix
Learning Solidity
Ingredients for creating dapps
Introduction to Ethereum
The Ethereum Geth Client
Build dapps 1:3 dev tools
The future of Blockchain
Solidity Simple Tutorial EN
State of wifi_2016
How smart are those smart contract
Wysiwig on Rails
Ethereum Smart Contract Tutorial
Ad

Similar to Solidity intro (20)

PDF
Ch2.setup.node.and.npm
PDF
Node Web Development 2nd Edition: Chapter2 Setup Node and NPM
PPTX
Node.js/io.js Native C++ Addons
PDF
Getting Started with Node.js
KEY
Nodeconf npm 2011
PPTX
Restarting app with Nodemon.pptx
PDF
Unikernel User Summit 2015: Getting started in unikernels using the rump kernel
PDF
How to Install Node.js and NPM on Windows and Mac?
PDF
Running CentOS on the Facebook fleet
PPTX
Security Onion
PPTX
A complete guide to Node.js
PPTX
Intro to Node.js (v1)
PDF
Packaging perl (LPW2010)
DOCX
Project Malware AnalysisCS 6262 Project 3Agenda.docx
PPTX
Modern Development Tools
PDF
Nicolas-Embleton - Deploying node.js with forever and nginx
PDF
CentOS at Facebook
PDF
OSDC.no 2015 introduction to node.js workshop
PPTX
Node js packages [#howto with npm]
Ch2.setup.node.and.npm
Node Web Development 2nd Edition: Chapter2 Setup Node and NPM
Node.js/io.js Native C++ Addons
Getting Started with Node.js
Nodeconf npm 2011
Restarting app with Nodemon.pptx
Unikernel User Summit 2015: Getting started in unikernels using the rump kernel
How to Install Node.js and NPM on Windows and Mac?
Running CentOS on the Facebook fleet
Security Onion
A complete guide to Node.js
Intro to Node.js (v1)
Packaging perl (LPW2010)
Project Malware AnalysisCS 6262 Project 3Agenda.docx
Modern Development Tools
Nicolas-Embleton - Deploying node.js with forever and nginx
CentOS at Facebook
OSDC.no 2015 introduction to node.js workshop
Node js packages [#howto with npm]

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Cloud computing and distributed systems.
PDF
Electronic commerce courselecture one. Pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Modernizing your data center with Dell and AMD
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
KodekX | Application Modernization Development
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation theory and applications.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
NewMind AI Monthly Chronicles - July 2025
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Cloud computing and distributed systems.
Electronic commerce courselecture one. Pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Modernizing your data center with Dell and AMD
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
“AI and Expert System Decision Support & Business Intelligence Systems”
KodekX | Application Modernization Development
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Unlocking AI with Model Context Protocol (MCP)
Dropbox Q2 2025 Financial Results & Investor Presentation
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation theory and applications.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Understanding_Digital_Forensics_Presentation.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

Solidity intro

  • 1. Setting Up a Solidity Environment By Angello Pozo & Jason Robert
  • 2. What is Solidity? • Compiles down to op codes that are run on Ethereum • Use the Blockchain as a server and a DB
  • 3. Image of What’s Happening
  • 4. For Local Development • Node.js (system program) • Solc (npm package) • Truffle (npm package) • Testrpc (npm Package)
  • 5. Installing Node Mac 1. Install Homebrew (https://brew.sh) 2. Open command line 1. brew install node 2. node -v Windows • Go to https://nodejs.org/en/ • Open command line • node -v
  • 6. Install Global NPM Packages 1. In command line 1. npm install solc –g 2. npm install truffle –g 3. npm install ethereumjs-testrpc -g
  • 7. Creating Project with Truffle • In the command line • cd ~ && mkdir code && cd code • truffle init • ls -la • Open a new terminal tab or window • testrpc
  • 9. Let’s See it Working!! • Command line • truffle compile • truffle migrate –reset • truffle test
  • 10. Minor Change to Tests • Go to link • Short  http://bit.ly/2o6lM5L • Raw  https://gist.github.com/sogoiii/d3b512aab0623d4ad1da5c5bde3d3323 • Copy and paste over the `./test/metacoin.js` file • Run `truffle test` in command line
  • 11. Contact Us @ www.hellosugoi.com • Angello Pozo • angello@hellosugoi.com • https://medium.com/@angellopozo • Jason Robert • jason@hellosugoi.com • https://medium.com/@jason.robert Follow us on Twitter: @hellosugoi

Editor's Notes

  • #6: Windows installer - http://blog.teamtreehouse.com/install-node-js-npm-windows