Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.04 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.04 KB

Unit0 examples

Setup for development

  • nix: nix develop
  • other Linux and macOS: ./dev-setup.sh; source .venv/bin/activate

Usage

Run any command without parameters to see the full list of options.

Transfer from EL to CL (Waves)

u0-transfer-e2c --eth-private-key <Ethereum private key in HEX with 0x> --waves-private-key <Waves private key in base58> | jq .

Prepare chain_contract.withdraw transaction from EL transfer transaction hash

u0-transfer-e2c-withdraw --txn-hash <Ethereum transaction hash in HEX> --waves-private-key <Waves private key in base58> 

Transfer from CL (Waves) to EL

u0-transfer-c2e --waves-private-key <Waves private key in base58> --eth-private-key <Ethereum private key in HEX with 0x>

Logging

You can configure logging with a custom logging.conf (docs). Then you need to specify a path to this file in the LOGGING_CONFIG environment variable.