npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

metaip-contracts

v0.0.12

Published

metaip Smart Contract library for Solidity

Downloads

8

Readme

METAIP Contracts extend from a16z base

A repository for contracts written by MetaIP extend from a16z base Contracts .

METAIP License

The purpose of this repository is to provide an on-chain representation of the METAIP license FOR NFT Intellectual Property.

it provides a more "decentralized way" to clarify the ownership of the intellectual property rights of NFT creators and holders, so as to better protect the rights of the NFT creator and holder community

The METAIP license is made available as a contract that can be inherited by any other contract.

There are seven (0~6) variants of the MetaIP license:

  1. CC0 (“PUBLIC”) – All copyrights are waived under the terms of CC0 1.0 Universal developed by Creative Commons.
  2. Exclusive Commercial Rights with No Creator Retention (“EXCLUSIVE”) – Full exclusive commercial rights granted, with no hate speech termination. Creator does not retain any exploitation rights.
  3. Non-Exclusive Commercial Rights (“COMMERCIAL”) – Full non-exclusive commercial rights granted, with no hate speech termination. Creator retains exploitation rights.
  4. Non-Exclusive Commercial Rights with Creator Retention & Hate Speech Termination (“COMMERCIAL-NO-HATE”) – Full non-exclusive commercial rights granted, with hate speech termination. Creator retains exploitation rights.
  5. Personal License (“PERSONAL”) – Personal rights granted, without hate speech termination.
  6. Personal License with Hate Speech Termination (“PERSONAL-NO-HATE”) – Personal rights granted, with hate speech termination.
  7. Holder community License with no hate speech terms(“METAIP-COMMUNITY-NO-HATE”) – Holder community rights Maximization granted, with creator retention & no hate speech terms.

The text of the Licenses is made freely available to the public under the terms of CC0 1.0 Universal. You can also find the full licenses and cover letter in this repo here.

Installation

Install the Cant Be Evil License smart contracts in your hardhat project:

npm install metaip-contracts

Usage

The license versions are represented on-chain as an enum.

enum LicenseVersion {
    PUBLIC,
    EXCLUSIVE,
    COMMERCIAL,
    COMMERCIAL_NO_HATE,
    PERSONAL,
    PERSONAL_NO_HATE,
    METAIP_COMMUNITY
}

Pass the desired version into the CantBeEvil constructor, as shown:

import {LicenseVersion, CantBeEvil} from "@metaip-contracts/contracts/licenses/CantBeEvil.sol";

contract MyContract is CantBeEvil(LicenseVersion.METAIP_COMMUNITY) {
    ...
}

You can now call MyContract.getLicenseURI(), which will return an Arweave gateway link to the license text file.

MyContract.getLicenseURI() // => "https://arweave.net/2om8..."

contracts/licenses/CantBeEvil.sol

This contract is meant to be inherited by NFT contracts and any contract that wishes to expose the getLicenseURI and getLicenseName methods.

contracts/examples/MyToken.sol

An example NFT contract that inherits @metaip-contracts/contracts/licenses/CantBeEvil.sol.

Subscribe and Website

To obtain ongoing information about “NFT IP RWA”, please subscribe to the official website: https://metaip.xyz

Disclaimer

These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they will work as intended, and users may experience delays, failures, errors, omissions or loss of transmitted information. THE SMART CONTRACTS CONTAINED HEREIN ARE FURNISHED AS IS, WHERE IS, WITH ALL FAULTS AND WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON- INFRINGEMENT OR FITNESS FOR ANY PARTICULAR PURPOSE. Further, use of any of these smart contracts may be restricted or prohibited under applicable law, including securities laws, and it is therefore strongly advised for you to contact a reputable attorney in any jurisdiction where these smart contracts may be accessible for any questions or concerns with respect thereto. Further, no information provided in this repo should be construed as investment advice or legal advice for any particular facts or circumstances, and is not meant to replace competent counsel. we are not liable for any use of the foregoing, and users should proceed with caution and use at their own risk. See metaip.xyz for more info.