The Taproot assets protocol needs Lightning networks daemon to be running for functionalities such as blockchain monitoring, wallet management etc.
./lnd-debug --lnddir=/data3/.lnd --configfile=/data3/.lnd/lnd.conf --wallet-unlock-password-file=/data3/.lnd/pass.txt --reset-wallet-transactions
./lnd-debug --lnddir=/data3/.lnd --configfile=/data3/.lnd/lnd-mainnet.conf --wallet-unlock-password-file=/data3/.lnd/pass.txt
Once the LND daemon has synced you can start the TAPD daemon.
lncli --macaroonpath=/data3/.lnd/data/chain/bitcoin/testnet/admin.macaroon --tlscertpath=/data3/.lnd/tls.cert getinfo | grep sync
lncli --macaroonpath=/data3/.lnd/data/chain/bitcoin/mainnet/admin.macaroon --tlscertpath=/data3/.lnd/tls.cert getinfo | grep sync
tapd --network=testnet
--debuglevel=debug
--lnd.host=localhost:10009
--lnd.macaroonpath=/data3/.lnd/data/chain/bitcoin/testnet/admin.macaroon
--lnd.tlspath=/data3/.lnd/tls.cert
tapd --network=mainnet
--debuglevel=debug
--lnd.host=localhost:10003
--lnd.macaroonpath=/data3/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
--lnd.tlspath=/data3/.lnd/tls.cert
lncli --lnddir=/data3/.lnd --macaroonpath=/data3/.lnd/data/chain/bitcoin/testnet/admin.macaroon walletbalance
{
"total_balance": "0",
"confirmed_balance": "0",
"unconfirmed_balance": "0",
"locked_balance": "0",
"reserved_balance_anchor_chan": "0",
"account_balance": {
"default": {
"confirmed_balance": "0",
"unconfirmed_balance": "0"
}
}
}
tapcli --macaroonpath=$HOME/.tapd/data/mainnet/admin.macaroon --network=mainnet assets mint --type normal --name testx --supply 1000 --meta_bytes "fantastic money"
tapcli --macaroonpath=$HOME/.tapd/data/testnet/admin.macaroon --network=testnet assets mint --type normal --name testx --supply 1000 --meta_bytes "fantastic money"
tapcli --macaroonpath=$HOME/.tapd/data/mainnet/admin.macaroon assets mint finalize
tapcli --macaroonpath=$HOME/.tapd/data/testnet/admin.macaroon assets mint finalize
$ lncli --tlscertpath /data3/.lnd/tls.cert --macaroonpath=/data3/.lnd/data/chain/bitcoin/testnet/admin.macaroon wallet bumpfee --sat_per_vbyte 13 9cc51916ac8681b89423d0227de02c7d95b5a58ede9078e4cc152544e8cec501:0
$ lncli --tlscertpath /data3/.lnd/tls.cert --macaroonpath=/data3/.lnd/data/chain/bitcoin/testnet/admin.macaroon wallet bumpfee --sat_per_vbyte 13 9cc51916ac8681b89423d0227de02c7d95b5a58ede9078e4cc152544e8cec501:1 { "status": "Successfully registered CPFP-tx with the sweeper" }
tapcli --network=testnet --macaroonpath=$HOME/.tapd/data/testnet/admin.macaroon assets transfers --asset_id dbfd64ad88a62cf82c4e87248f532dd10ccacf16e8106a5aa4651787a0827419