Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sns254/LibraTerminal
Command line wallet for Libra, written in Python.
https://github.com/sns254/LibraTerminal
Last synced: about 2 months ago
JSON representation
Command line wallet for Libra, written in Python.
- Host: GitHub
- URL: https://github.com/sns254/LibraTerminal
- Owner: sns254
- Created: 2019-07-24T03:53:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-24T04:31:09.000Z (over 5 years ago)
- Last Synced: 2024-08-03T18:14:22.421Z (5 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-libra - LibraTerminal
README
# LibraTerminal
Very basic command line wallet for Libra, written in Python.Uses bandprotocol's pylibra module.
Currently, only whole amounts of Libra can be transacted with. Only five accounts are generated, but the code can easily be tweaked to accommodate more.
Setup
Navigate to the desired directory.
`mkdir LibraTerminal && cd LibraTerminal`
Create a virtual environment:
`virtualenv librawallet`
Activate it:
`source librawallet/bin/activate`
Get the necessary Python modules:
`pip3 install pylibra`
`pip3 install termcolor`
`pip3 install pyqrcode`
Now create a new file:
`sudo nano wallet.py`
Copy the contents of this repository's wallet.py, paste them into your text editor and save it (`CTRL-X`, select 'y' when prompted).
Now we can run it:
`python3 wallet.py`
Don't forget to deactivate the virtual environment when you're finished.
`deactivate`