Skip to content

floriansr/First-SmartContract

Repository files navigation

First smart-contract

A web test application allowing users to read a smart-contract: Hello World !

The given startup code can be found in React, Truffle.js, Drizzle.js for the graphical interface and Solidity for writing smart-contracts.

Stack and tools

  • React, Truffle.js, Drizzle.js
  • Solidity
  • Ganache, Metamask

Project setup

Clone project

git clone https://github.com/floriansr/First-SmartContract.git

Open Ganache server

Get into project

cd First-SmartContract

Install packages locally

npm install

Run React server

npm start

Check extension Metamask connection to localhost:3000

Get private key from Ganache adress and import it to new metamask account

Truffle develop

truffle console

Compile contracts

truffle compile

Migrate contracts for builds

truffle migrate without/with --reset flag

Author

About

A web test application allowing users to read a smart-contract: Hello World !

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors