You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read the Tutorial (Source) to get familiar with the APIs.
A jupyter notebook explaining the sample code can be found here.
Quick Testing
Use Virtual Env
virtualenv helps provide a clean environment, suggest to use it to test.
$ pip3 install virtualenv # install the virtualenv tool if not installed
$ make venv # create a virtual env
$ source venv/bin/activate
$ # Do the testing here
$ deactivate # deactive the virtual env
$ make clean # clean the temporary files
Run Integration Testing
The following command will run the testing.
$ make check # Check environment and run tests
$ make test# Only run test cases
$ tox -e py3 -- test/integration/ca_test.py # Run specified test case
Generating Docker images
The following command will build the Docker image hyperledger/fabric-sdk-py.
$ make image
Regenerating protos
Make sure you have grpcio-tools installed (pip install grpcio-tools)
$ make proto
Change Logs
See Change Log for the commit logs. Run make changelog to update the changelog before new release.