Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.13 KB

README.md

File metadata and controls

36 lines (30 loc) · 1.13 KB

Rentable Pet Smart Contract

About The Project

Implementation of ERC4907 to mint rentable pets.

Technology Stack & Tools

  • Solidity (Writing Smart Contracts & Tests)
  • Javascript (Testing)
  • Truffle (Development Framework)

Prerequisites

To engage with the smart contract you will need the following :

Setting Up

  • Clone/Download the repository
  • Install dependencies in truffle and client folder

    npm install

  • Truffle([https://www.trufflesuite.com/truffle] (https://www.trufflesuite.com/truffle))

    npm install truffle

  • Run tests

    $ truffle test

  • Start local Ganache Node

    In a separate terminal execute run the following command : Ganache

  • Deploy script locally

    Inside truffle folder run the following command

    • $ truffle console --network development
    • $ truffle compile
    • $ truffle migrate