tlccstudio / heart_farms_ual

Original UAL: https://github.com/telosnetwork/telos-oracle-dashboard
3 stars 0 forks source link

New Page: Account Settings #3

Open tlccstudio opened 3 years ago

tlccstudio commented 3 years ago

For Sarah to work on.

When someone clicks on "Account Settings" in the menu, it should take them to a page which has the following displayed content and features:

Display / Features


Interface to Setup @farm Permission

See the draft UI outline:

image

This is either a pop-up or a separate page, which you enter when clicking the button on the Account Settings page.

1) Create / Update @farm Key

2) Test @farm Authentication button Checking for linkauth is not easily achievable. So instead, we create a button to test out a transaction and it will sign it, and attempt to send to blockchain.


This may be wrong below, but I think a linkauth is something like this:

image

account: current user code: smart contract (always heartfarmsio) type: action (Always main for heartfarmsio) requirement: permission (always farm for this)

How to check for existing linkauth setup with account, needs some research.

Upon researching, not easily possible to check EOSIO linkauth setting.

tlccstudio commented 3 years ago

See example of JS linkauth here, uses EOSJS: https://github.com/tlccstudio/xeros/blob/1b660571e52d66d23191853af84160409d79e378/js/telosAPI.js#L880