-
Notifications
You must be signed in to change notification settings - Fork 0
Functionality
Sebastien edited this page Sep 2, 2018
·
3 revisions
Overview of the functionality of Dexm
Create a wallet
$ ./dexm mw [walletPath]
- [walletPath] : Name of the file where it will save your wallet
Example
$ ./dexm mw myWallet
INFO[0000] Generated wallet DexmwEY1q3adpWHpPVx1cx4e7YDMSaWl634a5be
Create a vanity wallet
$ ./dexm mvw [walletPath] [regex] [cores]
- [walletPath] : Name of the file where it will save your wallet
- [regex] : A sequence of continuous letter (Base58 encoding) that your wallet address will contain
- [cores] : The number of cores you want to use to find the vanity
Example
$ ./dexm mvw myWallet God 20
INFO[0020] Found wallet: DexmGod4Vkp6mf3ZgXZDhnVY7ATnpCBl212aa72e
Start your node to be in the network
$ ./dexm sn [walletPath] (network)
- [walletPath] : Name of your wallet
- (network) : The network where you will be connected. Default hackney
Example
$ ./dexm sn myWallet
INFO[0000] Adding genesis block...
INFO[0000] ...
INFO[0004] Starting server on port :3141
INFO[0004] Staring chain import
INFO[0000] ...
INFO[0004] Done importing
Make a transaction from your wallet to another wallet
$ ./dexm mkt [walletPath] [recipient] [amount] [gas] (contract)
- [walletPath] : Name of your wallet
- [recipient] : The public key of the receiver
- [amount] : The amount of money to send
- [gas] : The amount of money you want to use to prioritize the transaction
- [contractPath] : Name of the file where it will save your contract
Example
$ ./dexm mkt myWallet DexmGod4Vkp6mf3ZgXZDhnVY7ATnpCBl212aa72e 20 2