This feature created the scripts directory and used the algorand python SDK to build modules to deploy and interact with the smart contract. All the helper functions are contained the in the scripts/helper/ folder. These funtions comprise of standard transactions made to the blockchain, connectivity functions and parsing and reading data functions from the blockchain. The custom code to build transactions for our smart contract that represents a data pool sits in the scripts/opertations.py file. Here transactions were built to complete the full deployment, intialisation and setup of the data pool smart contract.
To Test
Follow the Development Setup in the ReadMe.
Set PythonPath :
$ export PYTHONPATH=.
Run Deployment Test:
$ python run [PATHTOFILE]/scripts/test_SmartContractDeployment.py
When finished, the sandbox can be stopped with ./sandbox down
Python SDK deployment smart contract
This feature created the
scripts
directory and used the algorand python SDK to build modules to deploy and interact with the smart contract. All the helper functions are contained the in thescripts/helper/
folder. These funtions comprise of standard transactions made to the blockchain, connectivity functions and parsing and reading data functions from the blockchain. The custom code to build transactions for our smart contract that represents a data pool sits in thescripts/opertations.py
file. Here transactions were built to complete the full deployment, intialisation and setup of the data pool smart contract.To Test
Follow the Development Setup in the ReadMe.
Set PythonPath :
Run Deployment Test:
When finished, the sandbox can be stopped with
./sandbox down