Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Readme.md

eth-parity-simplestorage

Example using parity locally to deploy and use a simple-storage (hello world) Ethereum contract.

Prerequisite

Parity installed and running on your system, example for OSX for parity setup & run:

mkdir -p ~/bin
echo 'export PATH=$PATH:~/bin' >>  ~/.bash_profile
source ~/.bash_profile
ln -s "/Applications/Parity Ethereum.app/Contents/MacOS/parity" ~/bin/parity
mkdir -p ~/tmp
parity --chain kovan account new
# use foo as a password
echo "foo" > ~/tmp/pass  && parity --chain kovan --password ~/tmp/pass --unlock $(parity --chain kovan account list | head -n 1)

Setup

Run:

npm install

Compile

Run:

./compile.sh

Deploy contract

Run:

node deploy.js

Test contract (setter + getter)

Run:

node .

Enjoy!

@makevoid

About

Example using parity locally to deploy and use a simple-storage (hello world) Ethereum contract.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.