t04glovern / stubber

🎟 Deterring ticket scalping with digitally traceable ticket sales on the blockchain.

Home Page:http://stubber.space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stubber

Digitally traceable ticket sales on the blockchain.

Ethereum Solidity

About

This repository houses the Stubber ticket sale and management platform. It has been built using Ethereum smart contracts.

Networks

Developing This Contract

In order to develop this contract the following steps were taken to setup the environment.

Install and run Ganache CLI (formally you would have used TestRPC). Alternatively you can install Ganche UI.

$ npm install -g ganache-cli
$ ganache-cli -p 7545

Navigate into the root of this project and install truffle (if you haven't already got it). Run the truffle test command to compile and test the contracts.

npm install -g truffle
truffle test

The configuration for running the network locally using truffle is in the truffle.js file with the configuration below.

  networks: {
    development: {
      host: "127.0.0.1",
      port: 8545,
      network_id: "*" // Match any network id
    }
  }

Changing the network Address

To change the network address this Dapp connects to simple open up src/js/app.js and change the following line to point at your deployed verions of this repos contract

  StubTokenAddress: '0x045d28dc903e9f3bb8e161eea5a78c0ce0777aa3',

Screenshots

Attribution

Ownable.sol, ERC721Token.sol and assertRevert.js contracts/tests are provided by the zeppelin-solidity repo.

About

🎟 Deterring ticket scalping with digitally traceable ticket sales on the blockchain.

http://stubber.space

License:MIT License


Languages

Language:JavaScript 86.5%Language:HTML 8.2%Language:CSS 5.0%Language:Shell 0.2%