themindhouse / cryptocanvas Goto Github PK
View Code? Open in Web Editor NEWCryptoCanvas Website - Create, Trade & Collect Blockchain Artworks
Home Page: https://cryptocanvas.art
License: GNU General Public License v3.0
CryptoCanvas Website - Create, Trade & Collect Blockchain Artworks
Home Page: https://cryptocanvas.art
License: GNU General Public License v3.0
As a user, I want to see all canvas' transaction history. History should be placed in the details page of canvas and include:
acceptBuyOffer
or acceptSellOffer
is called.Simple layout, just make it look good on mobile. Hide all controls relating to interacting with the blockchain
Account & Transactions doesn't change when I change MetaMask account. It actually seems that it shares all the information across all the MetaMask's accounts. It may be related to #2.
Example: I set all the canvas' pixels using Account 1. Then I switch to Account 2, and I still see transactions called Set pixel to.... It remains the same even if I reload the page.
When Metamask account is changed, transactions are still sent from the old one.
Suggestion: what if we reload the page each time MetaMask changes account? It should fix most of the problems of that kind.
Transaction list is not 100% consistent with its texts. There is text: Set pixel to #215 on Canvas 1, and then Buy Offer on Canvas # 1. Let's always prefix canvas' number with #
character.
As a user, I want to see even more details about an account. This issue is kind of extension of #14.
Extra details to be included:
As a user, I want to clearly see in the website's UI if my transaction is pending. It would be good to add some more loaders, like in the setting pixel transaction. That includes:
Note: if that issue is time-consuming let's move it out of the Release 1.0 milestone.
As a user, I want to see more details about an account in account details view. It includes:
Add some analytics system. It doesn't have to be anything fancy. It's totally fine if it only tracks where are our users coming from - if it's a direct link, Facebook campaign, or Reddit post.
Transaction List modal looks a bit messy for me. What I'd do is:
As a user, I want to easily find canvases that are put for sale. Let's do it in a fairly simple way: let's add a cart icon next to the canvases that are available for sale.
You can use new function for that: getCanvasesWithSellOffer(bool includePrivateOffers)
.
As a user, each time I send a transaction to the Ethereum blockchain, I want to be informed if it completed or failed.
Edit: I created that issue because it was in your ToDoist, but actually it looks like it's done. I think the box in the bottom right corner is just what we need. Please close it if you agree with that.
I've been wondering if we should display Paint Pixel Transaction sent modal. Setting pixel is an operation that will be probably done a lot of times. Now, to do that, a user has to click 5 times.
Wouldn't it be better, if we display some kind of Toast/BottomBar notification that doesn't block a user from further interactions?
Let's discuss it here, and if needed create an appropriate issue.
As a user, I want to see a well-scaled gas limit. Right now it's as high as 3.000.000 which suggests our transactions are way more expensive than they really are. According to my gas calculator, it should be enough to set a limit to 150.000. Below I paste functions' gas cost.
Gas costs for a canvas of 4096 pixels:
Function | Gas cost |
---|---|
createCanvas() | 91852 |
setPixel() (new one) | 96671 |
setPixel() (update) | 51946 |
setPixel() (last one) | 63765 |
makeBid() (first one) | 114453 |
makeBid() (outbidding someone) | 78442 |
addRewardToPendingWithdrawals() | 63942 |
addCommissionToPendingWithdrawals() | 57424 |
setMinimumBidAmount() | 27502 |
offerCanvasForSaleToAddress() | 95385 |
offerCanvasForSale() | 33153 |
cancelSellOffer() | 32752 |
acceptSellOffer() | 87970 |
acceptSellOffer() (when having buy offer posted) | 66278 |
makeBuyOffer() | 73882 |
makeBuyOffer() (outbidding someone) | 51805 |
cancelBuyOffer() | 35522 |
acceptBuyOffer() | 57065 |
withdraw() | 22677 |
Everywhere we show the amount in ETH we should display amount in USD, converted by the latest rate
And as a developer I want transaction history table to be consistent :P Therefore I need to add a canvas owner address to the "from" field of the CanvasOfferedForSale
(Sell Offer) and CanvasNoLongerForSale
(Sell Offer Cancelled) events.
Please add an indexed field from
to those events, a field to
in case a sell offer was for a specified address, and a field amount
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.