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

Image

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 https://go.dev/dl/go1.17.11.linux-amd64.tar.gz
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 https://download.docker.com/linux/ubuntu/gpg  | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu  $(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

DOCKER_COMPOSE_VERSION=${1:-1.26.2}
sudo curl -o /usr/local/bin/docker-compose -L "https://github.com/docker/compose/releases/download/$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/github.com/hyperledger-labs/fabric-token-sdk
git clone https://github.com/hyperledger-labs/fabric-token-sdk.git $FTS_PATH
cd $GOPATH/src/github.com/hyperledger-labs/fabric-token-sdk
make docker-images

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

cd samples/nft/
go build -o nft

#start your sample on screen

screen
./nft network start --path ./testdata

6 Comments Text
  • 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

  • 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..

  • Excellent post. I used to be checking constantly this blog and I’m impressed! Very useful info specially the last part 🙂 I maintain such info a lot. I used to be looking for this certain info for a long time. Thank you and best of luck.

  • I have been absent for a while, but now I remember why I used to love this site. Thanks , I’ll try and check back more frequently. How frequently you update your website?

  • remarkable things here. I am very glad to see your post. Thanks a lot and i’m looking forward to contact you. Will you kindly drop me a e-mail?

  • Leave a Comment

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

    This site uses Akismet to reduce spam. Learn how your comment data is processed.