cryptoadvance / specterext-liquidissuer Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Creating a distribution or reissuance when using Specter Desktop watch-only wallets the PSET should be created and imported into Specter-Desktop. When the user signs and broadcasts the transaction AMP extension should check the transaction and register it on the AMP server automatically.
I think AMP extension can check if current specter.rpc is liquidv1 or liquidtestnet, and if not - show a page with a message that user needs to configure Elements Core and switch to it before using the extension.
Normal assets, without AMP API.
Currently, access token is hardcoded. We need to have an "AMP login page" when activating the extension.
I think it makes sense to have a login page that supports both username + password and token for login.
Access token can be stored in the user settings similar to Swan and other extensions.
both for issuance and reissuance. need to check that addresses are different.
same for reissuance
Right now to get back to AMP issuer from Specter user needs to go to plugin and click on AMP extension. Would be nice to have a sidebar menu with this extension. Makes sense to display it only if token / credentials are stored in the user config file (see #2)
flash()
and error if issuance transcation doesn't have 2 confirmations
Currently when user navigates to amp issuance dashboard the extensions makes many API requests to get all possible information. I think we can reduce amount of information shown in the dashboard so we don't need to load everything for every asset - it can be done later when the user goes to the asset info.
The user should be able to configure wallet that will receive reissuance token and issued token. These can be two different wallets. This settings should be stored in asset config somewhere (different assets can point to different wallets)
Probably user.update_asset_label()
can help:
https://github.com/cryptoadvance/specter-desktop/blob/master/src/cryptoadvance/specter/user.py#L326
API endpoint:
/user/obtain_token
with data {"username": username, "password": password}
that will return a json {"token": token}
https://amp-test.blockstream.com/api/
for liquidtestnet
https://amp.blockstream.com/api/
for liquidv1
This info should be visible in the UI somehow.
Tokens should be stored in the user config file separately - one slot for testnet, one for mainnet
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.