MrT3313 / hodl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HODL

Install

Mac

brew install truffle

Local Development

  1. Compile Code

    truffle compile
    
  2. Start Truffle

    truffle develop
    
  3. Migrate Smart Contract

    > truffle migrate
    
  4. Access Instance

    > let instance = await [NameOfContract].deployed()
    
  5. Run Instance Methods

    > instance.[NameOfMethodOnContract]()
    

Versions

0.1.0
  • can run truffle framework
  • can migrate a smart contract
  • can access and run functions on a smart contract

About

License:MIT License


Languages

Language:JavaScript 89.5%Language:Solidity 10.5%