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

@solvprotocol/erc-3525

v1.5.0

Published

ERC-3525 Reference Implementation for Solidity

Downloads

360

Readme

ERC-3525 Reference Implementation

This is reference implementation of ERC-3525.

ERC-3525, proposed by Solv Protocol, is a standard for the Semi-Fungible Token (or SFT) approved by the Ethereum community.

It defines a new type of digital asset characterized by the following key features:

  • Unique ID and expressivity of ERC-721 non-fungible tokens. Compatibility with the ERC-721 token standard.
  • It is fractionalizable, combinable, and computable.
  • It can work like an account and nest other digital assets, including ERC-20 fungible tokens and NFTs, with support for token-to-token transfer.
  • Programmable appearance, functionality, lockup, transfer, etc. Metadata is optimized to support dynamic inputs and more complex financial logic.

🧙Not sure how to get started? Check out ERC-3525 Starter Kit: Developer Edition - a step-by-step guide to get you started with the ERC-3525 reference implementation.🚀

Overview

Installation

npm install @solvprotocol/erc-3525@latest

Usage

Once installed, you can use the contracts in the library by importing them:

pragma solidity ^0.8.9;

import "@solvprotocol/erc-3525/ERC3525.sol";

contract MyERC3525 is ERC3525 {

constructor()
    ERC3525("MyERC3525", "MY3525", 18) {
    }
}

To keep your system secure, you should always use the installed code as-is, and neither copy-paste it from online sources nor modify it yourself.

Learn More

ERC-3525 White Paper

Security

This project is maintained by Solv Protocol with the goal of providing a ERC-3525 Reference Implementation for the SFT ecosystem. We address security through risk management in various areas such as engineering and open source best practices, scoping and API design, multi-layered review processes, and incident response preparedness.

Past audits can be found in audits/.

Smart contracts are a nascent technology and carry a high level of technical risk and uncertainty. Although the ERC-3525 Reference Implementation has been audited, using it is not a substitute for a security audit.

ERC-3525 Reference Implementation Contracts is made available under the MIT License, which disclaims all warranties in relation to the project and which limits the liability of those that contribute and maintain the project, including Solv Protocol. As set out further in the Terms, you acknowledge that you are solely responsible for any use of ERC-3525 Reference Implementation Contracts and you assume all risks associated with any such use.

Contribute

Requirements

  • Solidity 0.8
  • Hardhat
  • Node.js >= 12.10

Setup

Run npm install in the root directory

Unit Tests

Run npm test to run the unit tests

Transpile

Run npm run transpile to transpile the non-upgradable contracts to upgradeable contracts

License

ERC-3525 Reference Implementation is released under the MIT License.

Credits

ERC-3525 Reference Implementation power by Solv Finance