attributable
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "attributable", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A proposal for on-chain attributes for NFT and other assets", | ||
@@ -18,3 +18,3 @@ "publishConfig": { | ||
}, | ||
"author": "", | ||
"author": "Francesco Sullo <francesco@sullo.co>", | ||
"license": "MIT", | ||
@@ -21,0 +21,0 @@ "devDependencies": { |
@@ -77,7 +77,2 @@ # Attributable | ||
/** | ||
@notice The comments above refer to an NFT, but the same approach can be used | ||
with other classes of assets. | ||
*/ | ||
/** | ||
@dev Emitted when the attributes for an id and a player is set. | ||
@@ -276,8 +271,30 @@ The function must be called by the owner of the asset to authorize a player to set | ||
# Copyright | ||
## Install and usage | ||
To install it, launch | ||
``` | ||
npm i -d attributable | ||
``` | ||
You may need to install the peer dependencies too, i.e., the OpenZeppelin contracts. | ||
To use it, in your smart contract import it as | ||
```solidity | ||
import "attributable/IAttributable.sol"; | ||
import "attributable/IPlayer.sol"; | ||
``` | ||
Feel free to make a PR to add your contract in the next section: | ||
## Implementations | ||
None, right now. Some coming soon. | ||
## Copyright | ||
(c) 2022, Francesco Sullo <francesco@sullo.co> | ||
# License | ||
## License | ||
MIT |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
21026
1
299