Skip to content

UnitsNetwork/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published