Skip to content

Cybersecurity-LINKS/ipr-management

Repository files navigation

IPR Management Smart Contracts

This repository contains the smart contracts to tokenize and represent data assets as NFT on the DLT. In detail, AssetFactory is a factory contract that deploys instances of the Asset contract. Asset is an ERC-721 contract. When the tokenize function is invoked, the AssetFactory contract deploys a new Asset contract. Each Asset instance inherits the same properties and functionality defined in the Asset contract, but with unique values specific to each NFT.

Getting started

Requirements

  • node and npm

Installation

Clone the repository and install the required packages:

npm install

Run

Locally

Launch the Hardhat Network,a local Ethereum network node designed for development. More information here.

npx hardhat node

In a different terminal in the same directory, run:

npx hardhat --network localhost faucet <address>
npx hardhat --network localhost run scripts/deploy.js

External networks

Testnet shimmer-evm

Before proceeding, make sure the address linked to your PRIVATE_KEY in the .env file has sufficient funds for transactions. If not, you can request testnet SMR tokens from the ShimmerEVM Faucet: https://evm-toolkit.evm.testnet.shimmer.network/.

npx hardhat --network shimmerevm-testnet run scripts/deploy.js  

(To view transactions on the explorer: https://explorer.evm.testnet.shimmer.network/)

Usage

More information here to use and interact with the smart contract

Licensing

Apache-2.0

About

Intellectual Property and Rights Management system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published