Voltage
Search
K

Taproot Assets on Voltage

Taproot Assets is a new protocol built by Lightning Labs that can be used for minting tokens and creating collectibles using the power of Taproot to derive from user-defined meta-data such as images or files. This feature is available on Voltage.
For a quick overview of what Taproot Assets is, check out this write up: https://docs.lightning.engineering/the-lightning-network/taproot-assets All you need to start as of 10/25/2023 is access to a linux bash command line and installation of tapd which you can get here: https://github.com/lightninglabs/taproot-assets.
GO version 1.19 or higher is required.
git clone --recurse-submodules https://github.com/lightninglabs/taproot-assets.git
cd taproot-assets
make install
After your local tapd is installed:
To access Taproot Assets "tapcli" on your Voltage node, you will need two pieces of information.
  1. 1.
    Your superadmin.macaroon
  2. 2.
    Your API endpoint
To get your superadmin.macaroon file, click "Connect" on your Voltage node dashboard, and then select "Manual" from the drop-down menu.
Once Manual is selected, scroll all the way to the very bottom and click Download under the superadmin.macaroon information.
Save the superadmin.macaroon in a directory of your choice.
Next, save your API Endpoint which can be found near the top of the screen where you got your macaroon, also it is on your Voltage node home dashboard.
Back on the command line,
$ tapcli --network=<mainnet or testnet, depending on your node> --rpcserver=<API Endpoint with :10009> --macaroonpath=<path to superadmin.macaroon> --tlscertpath="" getinfo
The output of the command should look similar to this if you have connected successfully:
{ "version": "0.3.0-alpha commit=v0.3.0", "lnd_version": "0.17.0-beta", "network": "testnet3", "lnd_identity_pubkey": "03ab9cd5c0e87e71f4a14221902cc05a0fb9a6ad9cab4f316f33c0a145e15f061f", "node_alias": "tapdtest", "block_height": 2535162, "block_hash": "000000000000000602f8ec5732216e7f3006b848d3b9e6924d2bb944c6ef994a", "sync_to_chain": true }
Once you see that, you are ready to go! As of this writing, Taproot Assets only uses the on-chain features of your LND node. The Taproot Assets protocol will be lightning native in the near future. Be sure to have some bitcoin in your on-chain wallet of your node to mint and send assets.
For more information on how to mint, verify, send, and more, check out the official taproot assets docs at https://lightning.engineering/api-docs/api/taproot-assets/ or use the -h flag to get a list of available commands.
As always if you have any questions or need assistance, you can contact us at [email protected] or on our community discord at https://voltage.cloud/discord.