Developer Resources
Taproot Assets
5min
taproot assets is a taproot powered protocol for issuing assets on bitcoin that can be transferred over the lightning network for instant, high volume, low fee transactions all voltage nodes are automatically running the taproot assets daemon (tapd) there is no additional configuration needed to enable taproot assets on your voltage nodes or account this document helps you get start with using taproot assets on voltage credentials if you don't already have a node created, please create a node first to interact with the taproot assets daemon, you must first obtain the proper credentials to talk to the apis you can find these in your node's macaroon bakery navigate to your node's dashboard on the left hand side under "manage access" go to the "macaroon bakery" page if you don't already have a "superadmin" macaroon in the list of macaroons, click the "bake superadmin macaroon" button at the bottom once the macaroon is created, download it from the list this is what you will use to authenticate to the taproot assets daemon connection information all communications to the taproot assets daemon will happen to your node's endpoint all requests must be sent to port 443 of your node's api you will need your node's endpoint when using either the apis or the cli navigate to your node's homepage towards the bottom of the page, there is a "node details" section in this section you will find your api endpoint copy that for use in the cli or api using the cli one of the way of interacting with the taproot assets daemon is via the command line interface this is a helpful way to get started using taproot assets quickly first, download and install the taproot assets cli (tapcli) from the latest release https //github com/lightninglabs/taproot assets/releases once you have the cli installed, we can configure the cli with the node's endpoint and macaroon obtained in previous steps the two important flags are rpcserver and macaroonpath the rpcserver flag must be the node's endpoint copied from the dashboard with 443 appended to the end to specify the port the macaroonpath flag is the location on disk of where the macaroon is finally, you also need to specify the tlscertpath flag, however this can simply be an empty string ( "" ) to test out if your cli is properly configured, try to run the getinfo command tapcli rpcserver=taproot m voltageapp io 443 \\ \ macaroonpath=/tmp/superadmin macaroon \\ \ tlscertpath="" \\ getinfo to see the full list of command options use the tapcli help command helpful resources to understand more about taproot assets and how they work, please refer to the documentation written by lightning labs https //docs lightning engineering/lightning network tools/taproot assets https //docs lightning engineering/lightning network tools/taproot assets you can additionally interact with the taproot assets daemon directly via its apis if that is preferred over a cli to see the api specification for taproot assets daemon please refer to the documentation site https //lightning engineering/api docs/api/taproot assets/ https //lightning engineering/api docs/api/taproot assets/