- Open
client.py
file - Change
id, from_address, to_address, amount
as you wish. - Create a file named same as your
from_address
wallet address and put yourprivate key
in this file
In this case I use python 3.7.3 to run the application.
If you wish to run the app using python, you should install dependencies:
pip install web3
Run the server by:
python vault.py <path>
OR
./vault.py <path>
Example:
./vault.py ./socket
Run the client by:
python client.py <path>
Example
./client.py ./socket
If you got an error permission denied: ./vault.py
or permission denied: ./client.py
, you should make those file executable by running:
chmod +x vault.py || chmod +x client.py
Executable app is located at dist
directory, before run the program, make sure you have created file to store private key
as mentioned at point 3 above inside this directory.
You can run the binary as follow:
./vault