π©βπ«What is Taproot Assets Protocol?
A simple explanation of Taproot Assets Protocol (TAP) for non-developers
Last updated
A simple explanation of Taproot Assets Protocol (TAP) for non-developers
Last updated
Taproot Assets is not a blockchain and is NOT in any way related to ERC-20 or other tokens. TAP is also not related to TARI, $TARO token or Taroverse.
Taproot Assets is a protocol - a set of rules - that defines how to write onto the Bitcoin blockchain to represent assets other than Bitcoin.
Taproot Assets Protocol allows for representation of fungible assets (alt-coins or currencies) as well as Non-Fungible Tokens (NFTs or collectibles) on Bitcoin blockchain.
TAP Asset / Taproot asset information is split into two parts - one part is stored on Blockchain and the other part is stored by the owners of the asset. The part that is held by the owner is passed from owner to owner via messages on the Lightning network.
This makes Taproot Asset fundamentally different from Ordinals and other inscrition-based protcols. Taproot assets is similar to RGB protocol in its operation.
There are two types of Taproot Assets:
Curriencies / Fungible assets / Alt-coins
Collectibles / Non-fungible tokens / NFTs
Taproot Adam and Taproot Eve collections
All Taproot Assets have the following user-defined attributes:
Name
Metadata
Supply
isNFT
As of now Taproot Assets does not add or allow for addition of any utility to the currencies and tokens represented on the protocol.
All utility of Taproot Assets needs to be provided by the minter / maintainer of the asset. In other words if Bob mints a Taproot Assets stablecoin called BobUSD. Bob is responsile for making sure that BobUSD is always equal to 1 USD . If Alive mints a a Taproot asset representing tokenized stock of Apple Inc. called AliceAAPL, Alice is responsible for ensuring AliceAAPL has the same value as the real stock.
Fungible assets can be minted in emmisions where the minter decides to mint more currency after the initial minting.
Taproot Asset currencies can in theory be transferred on the lightning network. This functionality is being built right now and is not supported yet. TAP NFTs cannot and will not be transacted on the lightning network.
Self-custody of Taproot Assets requires that one operates a taps node. Tape connects to lnd to access blockchain and the lightning network.
Tiramisu wallet allows users to hold and transfer assets using a web UI without the need to install tarod or set up a lightning node.
This video shows how to start your own node and self-custody your assets.
Here are the commands required:
sudo yum install wget -y sudo yum install git -y sudo yum install make -y
wget https://go.dev/dl/go1.21.3.linux-amd6... tar -C ~/ -xzf go1.21.3.linux-amd64.tar.gz
I am using fake angled brackets here because of Youtube does not allow the symbol. When running these commands please use the greater than sign here. echo 'export PATH="/home/ec2-user/go/bin:${PATH}"' β©β© ~/.bashrc echo 'export GOPATH=/home/ec2-user/go' β©β© ~/.bashrc export PATH="/home/ec2-user/go/bin:${PATH}" export GOPATH=/home/ec2-user/go
git clone https://github.com/lightningnetwork/lnd git clone --recurse-submodules https://github.com/lightninglabs/tapr...
cd lnd make install tags="signrpc walletrpc chainrpc invoicesrpc" cd ..
cd taproot-assets make install cd ..
screen -S lnd lnd --bitcoin.active --bitcoin.mainnet --debuglevel=debug --bitcoin.node=neutrino --neutrino.addpeer=faucet.lightning.community --neutrino.addpeer=btcd-testnet.lightning.computer --neutrino.addpeer=testnet3-btcd.zaphq.io --neutrino.addpeer=btcd0.lightning.computer:18333 --neutrino.addpeer=lnd.bitrefill.com:18333 --neutrino.addpeer=testnet1-btcd.zaphq.io --neutrino.addpeer=testnet2-btcd.zaphq.io --neutrino.addpeer=neutrino.addpeer=testnet4-btcd.zaphq.io --rpclisten=0.0.0.0:10009 --feeurl=https://nodes.lightning.computer/fees...
Press Control + A + D to detach from screen
lncli create
lncli getinfo
Wait for a little bit for synced_to_chain to change to true
screen -S tapd
tapd --network=mainnet --debuglevel=debug --lnd.host=localhost:10009 --lnd.macaroonpath=/home/ec2-user/.lnd/data/chain/bitcoin/testnet/admin.macaroon --lnd.tlspath=/home/ec2-user/.lnd/tls.cert --rpclisten=0.0.0.0:10029 --restlisten=0.0.0.0:8089 --allow-public-uni-proof-courier --allow-public-stats --universe.public-access --batch-minting-interval="1s"
Press Control + A + D to detach from screen
tapcli -n=mainnet addrs new --asset_id=3b7693c532a59186a56c25b39328bb1801b052ca960a7effd25724f3074eeda9 --amt=1
This should generate a TAP invoice / address