jinsley8 / web3-tix

Testing out deploying a smart contracts to create tickets for people to buy with ETH.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web3 Tix

Testing out deploying a smart contracts to create tickets for people to buy with ETH.

Installation

  1. Make sure you have Truffle installed globally.

    npm install -g truffle
  2. Install Ganache and create a new workspace

  3. Alternatively, you can run the Truffle development console instead of Ganache UI.

    truffle develop
  4. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with truffle.

    compile
    migrate
  5. Truffle can run tests written in Solidity or JavaScript against your smart contracts. Note the command varies slightly if you're in or outside of the development console.

    // inside the development console
    test
    
    // outside the development console
    truffle test

FAQ

  • Where can I find more documentation?

    Start by reading the Truffle documentation.

About

Testing out deploying a smart contracts to create tickets for people to buy with ETH.


Languages

Language:JavaScript 81.2%Language:Solidity 11.2%Language:HTML 7.2%Language:CSS 0.3%