Skip to content

Artwork-Place is a decentralized application built on the celo blockchain. It is capable of hosting artworks and buying artworks with cUsd the native stable coin of the celo blockchain. Those who host an artwork can also decide to edit or delete such as they deem fit.

License

Notifications You must be signed in to change notification settings

Jaylukmann/Artwork-Place

Repository files navigation

Artwork-Place Dapp

Description

This is a very simple artworkplace dapp built on the celo network where users can:

  • Host artworks but not buy their own artwork.
  • See artworks hosted by you and others on the Celo Blockchain.
  • Purchase artworks with cUSD and pay the owner
  • Add your own artworks to the dapp as well as edit and delete your artwork.
  • Are charged a 5% commission on every purchase of their artwork

Live Demo

Artwork-Place

Usage

Requirements

  1. Install the CeloExtensionWallet from the Google Chrome Store.
  2. Create a wallet.
  3. Go to https://celo.org/developers/faucet and get tokens for the alfajores testnet.
  4. Switch to the alfajores testnet in the CeloExtensionWallet.

[TEST]

  1. Create an artwork and check if you can buy your own artwork. It should fail.
  2. Create a second account in your extension wallet and send them cUSD tokens.
  3. Buy artwork with secondary account.
  4. Check if the balance of the first account increased by 95% while that of the buyer reduced by 100% of the price of the artwork as the contract owner receives 5% commission.
  5. Check if the artwork owner can edit and delete his artwork. He should be able to.
  6. Switch accounts to see how the edit and remove buttons toggle between artwork owner and non-artwork owner.

Project Setup

Install

npm install

Start

npm run dev

Build

npm run build

About

Artwork-Place is a decentralized application built on the celo blockchain. It is capable of hosting artworks and buying artworks with cUsd the native stable coin of the celo blockchain. Those who host an artwork can also decide to edit or delete such as they deem fit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published