Request form
FileMarket
  • Protocol
  • Filecoin
  • FEVM
  • Storage
Docs
Source
ChefGPT

Web3 storefront constructor to trade unique files as NFTs using Encrypted FileToken (EFT) technology)

OwnableUpgradeable.sol
Initializable.sol
ERC721Upgradeable.sol
IERC721ReceiverUpgradeable.sol
IERC721Upgradeable.sol
ERC721EnumerableUpgradeable.sol
IERC721EnumerableUpgradeable.sol
IERC721MetadataUpgradeable.sol
AddressUpgradeable.sol
ContextUpgradeable.sol
StringsUpgradeable.sol
ERC165Upgradeable.sol
IERC165Upgradeable.sol
MathUpgradeable.sol
AccessControl.sol
IAccessControl.sol
Ownable.sol
IERC2981.sol
Clones.sol
IERC20.sol
draft-IERC20Permit.sol
SafeERC20.sol
ERC721.sol
IERC721.sol
IERC721Receiver.sol
ERC721Enumerable.sol
IERC721Enumerable.sol
IERC721Metadata.sol
Address.sol
Context.sol
Strings.sol
ECDSA.sol
ERC165.sol
IERC165.sol
EnumerableSet.sol
FileBunniesCollection.sol
FilemarketCollectionV2.sol
FilemarketExchangeV2.sol
FraudDeciderWeb2.sol
FraudDeciderWeb2V2.sol
IAccessToken.sol
IEncryptedFileToken.sol
IEncryptedFileTokenCallbackReceiver.sol
IEncryptedFileTokenUpgradeable.sol
IEncryptedFileTokenUpgradeableV2.sol
IFraudDecider.sol
Mark3dAccessToken.sol
Mark3dAccessTokenV2.sol
Mark3dCollection.sol
Mark3dExchange.sol
PublicCollection.sol
ZkFilemarketCollectionV2.sol
ZkFilemarketExchangeV2.sol
ZkMark3dAccessTokenV2.sol
ZkPublicCollection.sol

4 downloads

Chains

Authors

FileMarket
  • Protocol
  • Filecoin
  • FEVM
  • Storage
Info
Source
ChefGPT
Expand
Share

Get Cookin'

4 downloads

Authors

FileMarket is a next-gen file-sharing platform with on-chain programmable access and incentives, turning digital wallets into 'My Documents' folder, ensuring privacy, lifelong storage via decentralization, and total control over monetizable content through tokenized paywalls.

Here is our tech article about EFT on Medium and we need your claps (may the force be with you): Tech article

Project Description

FileMarket pioneers a new generation of file-sharing - redefining it with web3 technology. Decentralization for privacy and lifelong storage, tokenized paywalls for total user control of monetizable content.

As a tokenized paywall file-sharing solution, it empowers users to transform their digital wallets into a "My Documents" folder, merging the convenience of cloud storage with the innovative potential of blockchain.

How it's Made

We use symmetric encryption of the file uploaded to Filecoin at the time of mint NFT. We use Lighthouse storage service to upload files. For minting and other functions we developed smart contracts on FEVM.

When someone buys an NFT, he freezes the amount in tokens for payment on the smart contract and sends a Public Key to the seller. The seller in a separate transaction using asymmetric encryption sends the encrypted file decryption key to the buyer.

Using Lighthouse storage, the buyer downloads the decrypted file from the Filecoin decentralized storage.

In the background, the FileMarket backend listens to all the transactions for the fraud reports. If the encrypted file received by the buyer does not match the original sample or cannot be decrypted, the buyer can send a report to the fraud.

Otherwise, if the buyer is satisfied, he completes the transaction by unfreezing the reserved funds and transferring them to the seller in a new transaction.

The encrypted file is now available to the new NFT owner and unavailable to the old one.

The NFT owner can initiate its own transfer to an address he knows and then the recipient must accept the transaction and the transaction enters a similar cycle to a sale with the public key being transferred to the seller and the decryption key being transferred back to the buyer.

Web3 storefront constructor to trade unique files as NFTs using Encrypted FileToken (EFT) technology)
OwnableUpgradeable.sol
Initializable.sol
ERC721Upgradeable.sol
IERC721ReceiverUpgradeable.sol
IERC721Upgradeable.sol
ERC721EnumerableUpgradeable.sol
IERC721EnumerableUpgradeable.sol
IERC721MetadataUpgradeable.sol
AddressUpgradeable.sol
ContextUpgradeable.sol
StringsUpgradeable.sol
ERC165Upgradeable.sol
IERC165Upgradeable.sol
MathUpgradeable.sol
AccessControl.sol
IAccessControl.sol
Ownable.sol
IERC2981.sol
Clones.sol
IERC20.sol
draft-IERC20Permit.sol
SafeERC20.sol
ERC721.sol
IERC721.sol
IERC721Receiver.sol
ERC721Enumerable.sol
IERC721Enumerable.sol
IERC721Metadata.sol
Address.sol
Context.sol
Strings.sol
ECDSA.sol
ERC165.sol
IERC165.sol
EnumerableSet.sol
FileBunniesCollection.sol
FilemarketCollectionV2.sol
FilemarketExchangeV2.sol
FraudDeciderWeb2.sol
FraudDeciderWeb2V2.sol
IAccessToken.sol
IEncryptedFileToken.sol
IEncryptedFileTokenCallbackReceiver.sol
IEncryptedFileTokenUpgradeable.sol
IEncryptedFileTokenUpgradeableV2.sol
IFraudDecider.sol
Mark3dAccessToken.sol
Mark3dAccessTokenV2.sol
Mark3dCollection.sol
Mark3dExchange.sol
PublicCollection.sol
ZkFilemarketCollectionV2.sol
ZkFilemarketExchangeV2.sol
ZkMark3dAccessTokenV2.sol
ZkPublicCollection.sol