Skip to content

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

License

Notifications You must be signed in to change notification settings

t04glovern/stubber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published