contracts

by Opus-foundation

Opus-foundation /contracts

Smart contracts and demo site for Opus foundation

130 Stars 28 Forks Last release: Not found GNU General Public License v3.0 71 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Opus-foundation smart contracts

opus-logo
Opus - the worlds's first decentralised music platform, based on IPFS and Ethereum.
Solidity smart contracts for Opus official token, crowdsale & testnet demo token. Also includes advanced-demo website.

Token Standards

Opus token is compliant to the ERC23 standards, as well as backward compatible with the ERC20 standards.

Security Patterns

Uses zeppelin-solidity ERC20 library by OpenZeppelin.

Prerequisites

To install demo you need:

To install truffle, run the following command:

sh
$ npm install -g truffle
To install testrpc, run:
sh
npm install -g ethereumjs-testrpc

Build

To build demo, clone this repo and run the following command:

sh
$ cd contracts
$ npm install

Running the demo

To run demo, first run testrpc by running:

sh
$ testrpc
Then compile and deploy the solidity contracts:
sh
$ truffle compile
$ truffle migrate
Run an instance of IPFS to enable uploads:
sh
$ ipfs daemon
Finally to build website, run:
sh
$ npm run dev

License

All smart contracts are released under GPL v.3.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.