blockchain-title-deeds's Introduction
blockchain-title-deeds's People
blockchain-title-deeds's Issues
[Enhancement] Search and view token detail by its id
[Feature] View owned title deeds
- Get all owned title deeds
- Owned title deeds detail
- Add loading skeleton
[Feature] Create deed
- Create screen import wallet with private key
- Handle logic import wallet with private key
- Check if user is owner of contract
- Create screen create title deed (dropdown to select values like land type, purpose)
- Handle field validations
- Choose photo logic
- Handle Upload photo to IPFS
- Handle estimate gas transaction
- Handle making transaction
- Add Vietnamese translations
[Enhancement] Create sale
Enhancements
- Write test cases for trading
- Write unit tests based on test cases
- Allow users to upload images to trade
[Bug] Search not triggering immediately when sale list finishes loading
Write test cases for trading
[Feature] Transfer ownership of deed
- Add transfer ownership button to owned token detail
- Input receiver address screen
- Check for invalid receiver address
- Add transaction detail dialog
- Confirm transaction
- Show response when transaction completes (error/success)
- Pull to refresh for owned tokens list
- Force refresh owned tokens list when returning from confirm transaction
- Handle case user is no longer owner of token when get transaction info
- Handle case user doesn't have enough gas
[Enhancement] Buy token
- Add icons to sale UI in home screen
- Sort by price asc
- Sort by price desc
- Sort by land size asc
- Sort by land size desc
- Filter by property type, purpose
[Feature] Splash screen
[Feature] Manage wallet
- Add bottom navigation menu
- View balance
- View address
- Copy address
- Log out of wallet
[BUG] Cannot navigate to same destination after navigating back
Steps
- Click on button to navigate to any new screen
- Navigate back
- Click on button again to navigate to the same screen
- Verify that nothing happens
This is probably due to StateFlow not handling the same data twice
[Bug] Screen is navigated to multiple time when togging between background state
Actual:
- User open app
- User press home/ multitask button
- User returns to app
- User press back
- Verify that user can press back and still see the same screen
Root cause: because collectAsState
is called multiple time, when the UI is recreated
Fix: Wrap it around LaunchedEffect
and switch to SharedFlow
, so the Flow is collected only once, but still passing duplicate values to UI, unlike SharedFlow (this is neccessary when user to a screen, go back and navigate to it again)
[Enhancement] Create / import wallet flow
- Real time validation for fields
- Onboarding flow
- Change all fields to single line
- Change all fields IME to next / finish
- Better UI
[Enhancement] IPFS
- Change URL to local IPFS node
- Handle upload JSON to local IPFS node
[Enhancement] Wallet detail
Stretch goals:
- Show address QR
- View wallet on block explorer (do after deploying on testnet)
[Enhancement] Create title deeds
- Research digital signature
- Add digital signature to created title deeds
[Feature] Cancel sale
- Cancel button logic in deed detail screen
- Cancel sale transaction
- Handle case cancel when token not on sale
- Handle case cancel when user is no longer owner of token
- Check deed detail screen is refreshed when cancel sale
[Feature] Create title deeds (smart contract part)
- Define metadata structure (what to save on and off chain)
- Test create title deed
Stretch goals:
- Research digital signature
- Add digital signature to created title deeds
[Bug] Transfer token already for sale
When token is already for sale, transfer token to another owner returns "You're not the owner of this token"
Root cause: because the contract overrides _transfer
instead of safeTransferFrom
, and close sale offer doesn't allow the contract to call it
[Feature] Buy token
- Support enumeration of all sales in contract
- Show list of all tokens on sale
- Add option to buy token in token detail
- Handle buy transaction
- Pull to refresh for home screen
- Refresh home screen when transaction is complete
- Show token on sale in owned deeds
- Search list tokens by address
- View token detail (i.e. pass token id to TokenDetailScreen)
- Show token id in token detail
[Feature] Create sale
- Add sale support in smart contract
- Define sale metadata
- Add support for sale metadata in contract
- Upload sale metadata to Pinata
- Create sale transaction
- Add pull to refresh for deed detail screen
- UI to show sale info in deed detail
- Refresh state of deed screen when transaction completes
- Create sale UI
[Bug] Bottom navigation item is not highlighted when in child destinations
[Enhancement] Add map support for deed
- Save land coordinate in deed metadata
- Display coordinate as map in deed detail
- Display coordinate as map in home screen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.