NB: The button wording info is near the bottom. :D
Based on the UI https://bitbucket.org/88media/fungi-wallet
Needs Clear license!!!
(license ok)
get_ledger_state() –> Balance, Limit (This info will be included in the list_transactions call)
list_pending() – display first
requests
, proposals
,refunds
that may require user interaction.list_transactions( … details of filtering, pagination, etc … + Balance, limit info, etc.) :
request_payment( Some(Spender), Transaction )
TODO
(on transaction detail page )
receive_payment (Proposal as JSON) –> automatic if the Proposal has a linked Request (from me)
*reject_payment (Proposal as JSON) –> automatic if the spender is in my Blacklist
pay_request (Request) –> always manual
*decline_request (Request) –> automatic if the recipient is in my Blacklist (warrant for being fraudulent, spammer etc.)
Later Functionality:
Q. How to specify which Hash are you using (Deepkey? Holo Vault / Personas?)
Q. Bridging? Think about this on open alpha?
Q. How to display account names?
Initial Holo fuel:
Not doing: (for Closed Alpha)
View Points:
Main Table APIS:
1.) Paginate for past tranactions: list_transactions(since_date) that will include the ledger_state (Not first version)
Pending Proposals/Requests Table (Show above the main table - ??)
Example calls:
const list_tx = alice.call("transactions", "main", "list_transactions", {})
console.log("***DEBUG***: list_tx: " + JSON.stringify( list_tx ))
t.isEquivalent( list_tx.Ok.transactions.length, 1 )
for ( var i = 0; i < list_tx.Ok.transactions.length; ++i ) {
t.isEquivalent( list_tx.Ok.transactions[i].state, "outgoing proposed" )
}
Balance (+ credit limit)
Requiring attention (list):
++ list_requests() –> Accept, Reject
++ list_proposals() –> Accept, Reject (if not tied to a Request by me)
|| Expires in, From / Direction, Value, Human interaction buttons
Transaction history (list):
++ list_transactions()
||Date, From, Direction (in/out), Value, Status
Access to Requesting/Proposing Fuel > Lead to another page?
(Request_button) (Send_button)
Buttons:
Recipient of funds (incoming):
Spender of funds (outgoing):
Note: Propose === Pay fuel
Transaction State | Spender Actions | Recipient Actions |
---|---|---|
Requested | (Receive) (Reject) | |
Accepted / Approved | (Review Tx)(Return) | |
Proposed / Offered | (Receive) (Reject) | |
Completed | (Refund) | (Review Tx) |
Error | (REPORT) | (REPORT) |
ALL OTHER | (no buttons) | (no buttons) |
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing