This is a simple demonstration of some of the functionality of the LocalCoinSwap API. You can our API to automate trades, or work with the private keys to your account.
This repository is updated with examples based only on requests from users of the API. If you are confused about how to do something with our API then raise a Github issue and we will add an example for you. Whatever your use-case, don't be afraid to raise an issue.
(Python)
Decrypting mnemonic from encrypted blob endpoint
Get wallet addresses from exchange
(Javascript)
Decrypting mnemonic from encrypted blob endpoint
Javascript:
cd javascript
touch .env
yarn install
Add your keys to your .env file so it looks something like:
API_TOKEN=<Token from exchange>
ACCOUNT_PASSWORD=<Password for exchange>
Run examples:
babel-node examples/decryptMnemonic.js
Python:
cd python
pyenv install 3.8.1
pyenv virtualenv 3.8.1 lcscrypto
pyenv local lcscrypto
pip3 install -r requirements.txt
Run examples:
python examples/decrypt_mnemonic.py
python examples/wallet_addresses.py