Skip to main content

3 docs tagged with "Smart Contracts"

View All Tags

Fees

Fileshop doesn't charge for selling files but does charge a 3% fee when buying files. There are also fees involved when deploying a Sale contract or when purchasing a file that you should be aware of. Fileshop uses the SmartBCH network which means that fees are much lower than expected compared to Ethereum or regular Bitcoin Cash transactions.

Sale

This is Fileshop's primary contract. It stores information about the sale such as the seller's wallet address, price, a hash of the file's location on IPFS and other metadata related to the sale. Once a Sale clone has been deployed the contract address is returned to the frontend and is used for generating the sale link.

Sales Manager

This is the smart contract that deploys clones of the Sale contract. The Fileshop frontend interacts with this contract to create and deploy a Sale using details entered by the user. Once a Sale clone has been deployed the contract address is returned to the frontend and is used for generating the sale link.