How to setup & test NFT sample using fabric-token-sdk

How to setup & test NFT sample using fabric-token-sdk

OS version Ubuntu-18.04

#update libraries

sudo apt update
apt upgrade -y

#install make and build-essential

apt install make
apt-get install build-essential

#install go

wget -L
tar -xvf go1.17.11.linux-amd64.tar.gz
sudo chown -R root:root ./go
sudo mv -v go /usr/local

vim ~/.bash_profile
source ~/.bash_profile

echo $GOPATH
echo $GOROOT
go version

#install docker

curl -fsSL  | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64]  $(lsb_release -cs) stable"
sudo apt-get update
apt-cache policy docker-ce
sudo apt-get install -y docker-ce  --assume-yes
docker version

#install docker-compose

sudo curl -o /usr/local/bin/docker-compose -L "$DOCKER_COMPOSE_VERSION/docker-compose-$(uname -s)-$(uname -m)"
sudo chmod +x /usr/local/bin/docker-compose
docker-compose -v
sudo usermod -aG docker $USER

#setup fabric-token-sdk

export FTS_PATH=$GOPATH/src/
git clone $FTS_PATH
cd $GOPATH/src/
make docker-images

#working with nft in samples for fabric-token-sdk

cd samples/nft/
go build -o nft

#start your sample on screen

./nft network start --path ./testdata

2 thoughts on “How to setup & test NFT sample using fabric-token-sdk

  1. Reply
    May 21, 2023 at 7:04 AM

    I appreciate, cause I found exactly what I was looking for. You’ve ended my 4 day long hunt! God Bless you man. Have a great day. Bye

  2. Reply
    May 22, 2023 at 12:26 AM

    hello there and thanks on your information ? I have definitely picked up anything new from right here. I did on the other hand experience some technical issues the usage of this web site, since I experienced to reload the web site lots of instances prior to I may just get it to load properly. I have been pondering in case your web hosting is OK? Now not that I’m complaining, but slow loading circumstances instances will very frequently affect your placement in google and can harm your high-quality rating if advertising and ***********|advertising|advertising|advertising and *********** with Adwords. Well I?m including this RSS to my email and can look out for a lot more of your respective intriguing content. Make sure you update this again soon..

Leave a Reply

Your email address will not be published. Required fields are marked *