2025-01-cyfrin-pieces-protocol/README.md
2025-01-16 05:11:27 -07:00

83 lines
1.1 KiB
Markdown

# Pieces Protocol
# Contest Details
### Prize Pool
- High - 100xp
- Medium - 20xp
- Low - 2xp
- Starts: January 16, 2025 Noon UTC
- Ends: January 23, 2025 Noon UTC
### Stats
- nSLOC: 181
[//]: # (contest-details-open)
## About the Project
## Summary
A new marketplace where users can buy a fraction of an nft and trade with this one, if some user has all the fractions of an nft, can claim the original nft that is locked.
## Actors
- Buyer: The purchaser of the nft fraction.
- Seller: The seller of the nft fraction
[//]: # (contest-details-close)
[//]: # (scope-open)
## Scope (contracts)
```
├── src
│ ├── TokenDivider.sol
│ └── token
│ └── ERC20ToGenerateNftFraccion.sol
```
Compatibilities:
Blockchains:
- Ethereum
- EVM Equivalent
Tokens:
- ETH
- ERC721 Standard
[//]: # (scope-close)
[//]: # (getting-started-open)
## Setup
Build:
```bash
git clone https://github.com/JuanPeVentura/NftFractionMarketplace.git
make install
forge build
```
Tests:
```bash
forge test
```
[//]: # (getting-started-close)
[//]: # (known-issues-open)
## Known Issues
No known issues reported
[//]: # (known-issues-close)