NFT Operations in Python

Describing the steps to verify the NFT_python on local or server machine below.

Machine configuration : Local or server machine.

Step 1: Clone NFT_python binaries on machine

Project Url :

Clone binaries on Machine :

git clone

Step: 2 Install virtual env on machine

Go to project :

cd python-peerplays


virtualenv -p python3 env

Step: 3 Install python requirements


source env/bin/activate


pip3 install -r requirements.txt

And then,

pip3 install -r requirements-test.txt

Step: 4 Run unit tests


python3 -m unittest tests/

Expected result should be as below:

(env) ubuntu@ip-172-31-13-101:~/python-peerplays$ python3 -m unittest tests/
Not broadcasting anything!
nft_metadata_create Success!
Not broadcasting anything!
nft_metadata_update Success!
Not broadcasting anything!
nft_mint Success!
Not broadcasting anything!
nft_safe_transfer_from Success!
Not broadcasting anything!
nft_approve Success!
Not broadcasting anything!
nft_set_approval_for_all Success!
All tests successful!
Ran 1 test in 3.449s

(env) ubuntu@ip-172-31-13-101:~/python-peerplays$

Cheers, all unit tests are passed and you successfully verify the NFT_python

Last updated