For Windows start 'Git Bash'. The commands are typed in there.
git clone https://github.com/ethernity-cloud/mvp-pox-client.git
Write the blockchain wallets keypairs inside the config file.
cd mvp-pox-clientcat << EOF > configADDRESS=0x1602562d48d6Dee651D357f0111963431AdBca68PRIVATE_KEY=ecc73d25230fa2b8eb6f8d4a7786600ad9e19ce1c58a620fcad41d4eefa986bfEOF
Please review the Blockchain Wallets section to generate the keypairs yourself and fund the wallets:
The client takes 2 parameters:
-s is the script that should run inside the remote enclave -f is the fileset that is uploaded together with the script
Included in the repository there are two scripts:
cos-bench.py and uppercase.py
./pox-do -s scripts/cos-bench/cos-bench.py -f scripts/cos-bench/fileset./pox-do was not initialized yetRequirements fot the ./pox-do are the following:1. ipfs daemon running and listening on localhost:50002. python3 with pip3. ipfshttpclient python module4. web3 python moduleProceed with automated initalization [Y/n]: yInitializing... done2020-12-19 10:37:17.132170 Submitting transaction for DO request2020-12-19 10:37:24.624422 Request 377 created successfuly!2020-12-19 10:37:24.625400 TX Hash: 0x7fe587cc6b04c12a801e9963cecda35ddb0367266d225f02ecd441176221ac41.......................................................
Some errors might show during Initialization, however if the client submits a request and a transaction is created, the errors can be ignored.
The initialization occurs only the first time the client it started. What the initialization does is install the required python modules and then download and start the ipfs daemon. It connects the ipfs daemon to ipfs.ethernity.cloud for faster hash propagation.
Using the -s and -f parameters you can run your own python scripts. Currently there are some limitations on what python modules and libraries are included on the python enclave. If you need specific python libraries or modules, please contact us.