-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(tapd): Add support for Taproot Assets Protocol nodes #641
Conversation
I will tackle minting an asset. |
So I have a working MintAssetModal and have run into a some issues where I need expanded functionality when it comes to testing. The create network function is lacking the ability to create Taro needs which it looks like the testing requires. This is in I'm going to start another branch to address this, it involves allowing the network creator to make taro nodes. Is this a good direction to go or is it more beneficial for me to build the functionality out in your list above? |
I intentionally didn't update the For testing, a simple solution is to just add a Taro node after the initial network is created. |
Hey @jamaljsr, Do you think this is a bad idea, and that importing genesis_bootstrap_info should be an explicit step? |
Hey @amovfx, I think importing of the |
@jamaljsr |
@jamaljsr I'm tracking down a bug where genesisBootstrapInfo value is being rest when the amount is changed, but the overall workflow is in place and ready for a critique. |
@amovfx Please create a PR if you would like me to review the code for that. Just be sure to set the target branch to be your mint assets PR if your new commits are on top of those. |
Okay Thanks for the heads up |
K I've been struggling with resets/rebases, It looks like it is working, I think it would need your eyes to go over this. |
I'm currently working on "drag a tarod->lnd link to change which LND node tarod connects to", let me know if you think an adjustment of priorities would be best. |
Cool. that sounds good. I don't think there's much left to do. We're getting close to done on this. |
While testing, I've run into some minor improvements that can be made. These should be resolved before merging this PR. Generate Address
Send Asset
Mint Asset
General
@amovfx Feel free to tackle any of these if you'd like. Please just create a separate PR per group to make review a bit easier. |
Will do! Thanks for the feedback! |
I'm having trouble conceptualizing. I have the same feeling, it seems like the only different thing you get from the taro asset is the total supply.
I hit the other notes. I'm also wondering if we are at the point where we want to add taro nodes to the network create pane? |
I'd have to do a deeper analysis of the RPC responses but I know they are virtually identical. I'm just not sure if there's any unique info in the
I don't think we should do that until the official mainnet version is released. If you want to work on it, you can. But you are likely going to be doing a bunch of rebasing. |
Sounds good, Ill poke around too when I get some time.
Yea that sounds good, I know a change to the meta data is happening where it will just be a hash. Probably other improvements are coming as well. I'll hold off. |
I found the rpccahce stuff, and I'm poking around it right now, is it something you still want to tackle? |
Rebased on |
Proper casing on the usePrefixedTranslation
Added tarp send asset functionality.
Fixed test to check for label to deposit enough funds for mint asset modal
NewAddressResponse renamed to AddressResponse
Hit notes and made sure tests hit coverage.
Cleaned up the tests
linting errors, missing parameter, and testing conventions
Send asset is at the top now.
100% coverage
Metadata needed to be a base64 string. Co-authored-by: Andrew Oseen <[email protected]>
Co-authored-by: Andrew Oseen <[email protected]>
-Increase the lightning wallet balance check by 2x. -Send button now has loading state. -Added missing error state Co-authored-by: Andrew Oseen <[email protected]>
-taro nodes connect in order when dropped into the graph -Taro info asset draw title says 'No Assets' if there are no assets --------- Co-authored-by: Andrew Oseen <[email protected]>
Closes #601
Description
This PR implements the necessary changes required to support Taro nodes (
tarod
) in Polar.Full support for Taro is not complete. It requires implementing additional features and resolving the known issues below:
Features to implement
master
branchestarod
logs and TerminalKnown issues
clear RPC cache when a node/network is started to handle cert/macaroon recreations(fixed in fix(network): clear RPC cache when nodes are stopped #698)Steps to test
This PR makes use of the @hodlone/taro-api NPM package, but requires some minor changes to get it working in Polar. If you want to run this branch locally, you'll need to follow the instructions in my fork jamaljsr/taro-api.
master
branch nodes (ex:v2022.12.28-master
) onto the canvastarocli
in the terminals to mint an asset and send/receive them between the two nodesScreenshots
Expand to view more screenshots