Open johnwhitton opened 2 years ago
"AssetManager Administrative" components are not needed. One can simply do it in a console. Client API is not needed either. It will be entirely performed on the client side directly interfacing the blockchain.
Token tracking and NFT identity tokens seem to have higher value than the other proposed Future Enhancements
Based on Feedback from @polymorpher we will focus on enabling operator mini-wallet functionality triggered by SMS messages from the user for the first phase. As such the original design above will be updated.
Here is a copy of the original design for posterity
Increase server functionality to support the SMS controlled Mini-wallet.
This enhancement enables mini-wallet functionality via the API's. Including operator functionality (pay and transfer) as well as end user functionality (deposit, withdraw, authorize). Users can trigger pay and transfer functionality by sending SMS messages to the Operators Twilio managed phone number.
Following is an overview of the technical components to be implemented
Following are optional future enhancements that may be addressed under separate issues
Status Update: Have configured Twilio test account to send test messages to sms-server running on localhost
Design Notes
p 4158401410 10
Updates
Have tested with the following flow Note : User actions are currently created using the demo page with contract calls to AssetManager Note: Creator actions are triggered by sms messages using the Twilio CLI Note: All tests are currently local using a local ganache instance
twilio api:core:messages:create --from "+14158401410" --to "+17372327333" --body "balance
twilio api:core:messages:create --from "+14158401410" --to "+17372327333" --body "pay"
Have forked PR https://github.com/polymorpher/sms-wallet/pull/7 in PR https://github.com/polymorpher/sms-wallet/pull/8 Can either merge miniserver functionality first (https://github.com/polymorpher/sms-wallet/pull/7) and progress smart contract enhancements after (https://github.com/polymorpher/sms-wallet/pull/8) or ignore https://github.com/polymorpher/sms-wallet/pull/7 and just merge https://github.com/polymorpher/sms-wallet/pull/8.
Overview
Enable SMS controlled Mini-wallet operator functionality for pay and transfer triggered by SMS messages from the user.
See this Internal demo
Description
This enhancement enables mini-wallet functionality via the API's. Including operator functionality (pay and transfer) as well as end user functionality (deposit, withdraw, authorize). Users can trigger pay and transfer functionality by sending SMS messages to the operators twilio managed phone number.
Simple Process Flow
We will start with the native token flow and then add other tokens in a separate issue.
Assumptions a. All user interactions can (and probably will) also be implemented using i. From Creator Apps integrating with the sms-wallet client approve screen as explained in the demo ii. By additional client functionality for deposit, approve and payment (to be developed separately).
b. Request for Payment will handled separately.
Technical Description
The focus for this enhancement is triggering a payment by the user to the creator via SMS (item 4) above. Specifically creating the foundational building blocks which can then be further enhanced.
Technical Flow
Technical Components
Following is an overview of the technical components to be implemented
Approach We will start with a minimum viable product (MVP) to ensure the infrastructure is in place, parsing logic will be added later. The mvp will upon receiving a message from a user the operator will pay an amount on their behalf to an approved recipient.
Go Live Checklist (for discussion)
Optional Enhancements
Standalone Local Environment
Harmony Testnet Environment
Harmony Mainnet Environment
References