Skip to content

blockchaindevelopersmd/workshop_0x0_seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workshop_0x0_seed

Seed project for the "Workshop 0x0".

Prerequisites

Installation

# npm install -g ganache-cli truffle
git clone https://github.com/blockchaindevelopersmd/workshop_0x0_seed.git
cd workshop_0x0_seed/
npm install

The Task

What's it about?

The task consists in developing Ethereum Smart Contracts using the seed project we've created for you.

You need to implement the functionality so that the tests pass (hopefully you're used to TDD).

What are the contracts i am going to implement?

There should be implemented one single contract: contracts/Voting.sol

What are stages? What are the differences between them?

Stages are basically the code&concepts complexity. For example: the simplest stage would be stage1. It's very basic and the only one which is required. You're free to extend and implement stage2, which will improve your knowledge of Solidity and blockchain concepts.

The special stage designed for Jedi's is the stage3. If this is quite easy for you- we will be glad to provide you a very special, personalized, unique and amazingly interesting task ;)

Validation

Start Test RPC using ganache-cli:

ganache-cli --accounts 50

Start Test RPC using ganache:

  1. Open application
  2. Go to settings
  3. Select ACCOUNT&KEYS
  4. Set TOTAL ACCOUNTS TO GENERATE value to 50

Run tests:

STAGE=1 truffle test --network development --compile-all
# or
STAGE=2 truffle test --network development --compile-all
# or
STAGE=3 truffle test --network development --compile-all

If you want to log communication between truffle test and ganache-cli add --verbose-rpc option.

Deployment

To deploy Smart Contracts we will use Ropsten network.

MNEMONIC="apple banana buterin..." truffle migrate --network ropsten

Additional information can be found here.

About

Seed project for Workshop 0x0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published