Skip to content

ETHTurin/contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contracts

CMORegistry

This smart contract has mainly two functions:

  • It keeps track of all the registered copyrights with associated info about the owners and their shares.
  • By inheritance of the TipJar contract, it sends special tokens to the payers of the copyright.

TipJar

This smart contract implements the ERC1155 standard and sets a series of range in which some special tokens are sent to the payer of the rights.

How to test

In order to test the contracts compile them using

npx hardhat compile

at the same time on another terminal run a local Hardhat node instance using

npx hardhat node

Now in order to deploy the previously compiled contracts run the script

npx hardhat run --network local scripts/deploy.js

Now it's all set to be tested using the Hardhat console or via our frontend

About

Smart contracts for HackDeLaMusique

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published