Skip to content
YUP token contract
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts first commit Jun 11, 2018

CrowdHolding's YUP token


  • any Ethereum client (e.g. Parity)
  • Node.js 8.x
  • npm v5.x
  • ganache-cli v6.x (only for local deployment)


  • open terminal (let's call it MAIN)
  • cd into 'yupie-smartcontract' directory
  • execute command: npm install
  • create truffle symlink: ln -T node_modules/trufle/build/cli.bundled.js truffle
  • compile contracts: ./truffle compile
  • edit ./truffle.js
    • fill in path to the IPC provider (*.ipc "file")
    • optionally edit gPrice and gLimit values
  • edit ./migrations/2_deploy_token.js
    • fill in missing addresses (only for ropsten deployment)

Deploying to ganache-cli (TestRPC)

  • open separate console or console tab and run ganache-cli: ganache-cli -a 10 -p 8545
  • from MAIN terminal, deploy token contract: ./truffle migrate --network development

Deploying to Ropsten testnet

  • go to line 325900 in './node_modules/truffle/build/cli.bundled.js'
  • replace it with: var originalSendAsync = provider.send.bind(provider);
  • save changes to './node_modules/truffle/build/cli.bundled.js'
  • run your preferred Ethereum client (e.g. Parity)
  • deploy token contract (from MAIN terminal) ./truffle migrate --network ropsten -f 2 (disregard Truffle error upon deployment, check[TXHASH])
You can’t perform that action at this time.