Your Unstoppable Decentralized Shopping Destination
Decentramall is a virtual shopping platform built on Ethereum. Brands and retailers can purchase or rent their storefronts where shoppers can discover and purchase both virtual and physical products.
This is a work in progress (see warnings below), started during HackFS.
yarn
Requires .env.local
, deployed smart-contracts and powergate instance.
To fill .env.local
look at .env.local.example
(parameters are explained below).
To deploy the smart-contracts in a localnet, see contracts repository.
To start a local powergate, see here. Everytime you start a the local testnet, it starts with clean spaces, so you need to create an FFS. Run pow ffs create
(see here how to install pow cli) anywhere on your machine and copy the token to .env.local file to NEXT_PUBLIC_FFS_TOKEN variable.
yarn dev
See here how to import accounts into metamask and here how to reset if necessary.
yarn test
Build static assets in out/
directory to serve
It's possible to declare a base url, useful when creating a build for IPFS environments
BASE_URL=some/base/url yarn build
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
- Initial version of smart contracts
- Initial version of webui
- User Dashboard
- Buy SPACE
- Rent SPACE
- Load add SPACE tokens
- Get user SPACE status (price when bought, rent (if any))
- Get user rent status (price, expiration, etc)
- Load all rents
- Render spaces on mainpage
- Search mechanism
- Deploy to testnet
- ...
NOTE: This are warnings from the textile team, that we also want to share.
- This is an experimental service, running on an experimental stack, connected to the Filecoin Testnet.
- Things may go wrong, things may change without much notice, and your data may go away! Before mainnet, all of this is meant to explore, have fun, and learn.
- We cannot offer support for lost data. In fact, you should expect all data to be reset at some points between now and the end of HackFS.
- Again, don't put production things on this service.
- Don't put important things on this service.
- Don't put private or potentially insecure things on this service.
- Don't put things you shouldn't on this service (harmful, mean, illegal, private, not yours).