Giter Club home page Giter Club logo

petshopproject's Introduction

PetShop project

This project is adopted from the truffle tutorial project petshop. It is a beginners project that shows people how to create smart contracts on the ethereum blockchain network and how to let it interact with the react native app that they include.

Description

In the project you first begin with making a smart contract that will handle the process of adoption through the blockchain. It will also show you how to make variables and arrays that will hold important information about the user and which dog he/she selected.

Next you will learn how to test your project so that you don't run into errors later when you publish the smart contract to the test or main blockchain.

Lastly you will finish the project by learning how to use the web3 protocal(allows any user to connect to the ethereum blockchain within their browser) and how to interact with the smart contract that you made, tested and published.

Personal Edits

One edit I made to the project is when the owner of the pet is on the website instead of seeing success button like the tutorial tells you to put. The owner sees the owner button at the bottom left.

Another edit I made was I gave the user the ability to return their pet if they didn't believe the pet fit into the family. First I editted the smart contract. Next I compiled, migrated, and test the smart contract on the test network. Lastly I made changes to the react native app so that the user could press a button and send back their pet.

Final Product

Screenshot 1 screenshot 1

Screenshot 2 screenshot 2

petshopproject's People

Contributors

ljtron avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.