2018-04-08 06:42:53 +00:00
|
|
|
include README.md SIGNING_KEYS.pub LICENSE INSTALL
|
2016-03-14 22:50:29 +03:00
|
|
|
include doc/wiki/using-mmgen/*
|
2019-05-12 09:24:00 +00:00
|
|
|
|
2016-03-06 08:55:50 +03:00
|
|
|
include test/*.py
|
2019-03-02 18:27:53 +00:00
|
|
|
include test/test_py_d/*.py
|
2019-05-14 09:42:02 +00:00
|
|
|
include test/unit_tests_d/*.py
|
2016-03-06 08:55:50 +03:00
|
|
|
include test/ref/*
|
2017-10-28 00:11:00 +03:00
|
|
|
include test/ref/litecoin/*
|
2017-12-16 09:31:00 +03:00
|
|
|
include test/ref/ethereum/*
|
|
|
|
|
include test/ref/ethereum_classic/*
|
2017-12-28 16:03:28 +03:00
|
|
|
include test/ref/dash/*
|
|
|
|
|
include test/ref/zcash/*
|
|
|
|
|
include test/ref/monero/*
|
2016-11-14 14:45:08 +03:00
|
|
|
|
2019-05-12 09:24:00 +00:00
|
|
|
include mmgen/altcoins/eth/rlp/LICENSE
|
|
|
|
|
include mmgen/altcoins/eth/pyethereum/LICENSE
|
|
|
|
|
|
2016-11-14 14:45:08 +03:00
|
|
|
include scripts/compute-file-chksum.py
|
ERC20 token support (create/deploy, TX create/sign/send)
This feature is EXPERIMENTAL. Until v0.9.9 is released, mainnet use is
strictly at your own risk!
To test on dev chain, run 'test/test.py -e ethdev'
To test on Kovan, add '--testnet=1' option to all commands below
Transaction example:
Generate some ETH addresses with your default wallet:
$ mmgen-addrgen --coin=eth 1-5
Create an EOS token tracking wallet and import the addresses into it:
$ mmgen-addrimport --coin=eth --token=86fa049857e0209aa7d9e616f7eb3b3b78ecfdb0 ABCDABCD-ETH[1-5].addrs
Send 10+ EOS from an exchange or another wallet to address ABCDABCD:E:1
Create a TX sending 10 EOS to address aabbccdd..., with change to ABCDABCD:E:2:
$ mmgen-txcreate --coin=eth --token=eos aabbccddaabbccddaabbccddaabbccddaabbccdd,10 ABCDABCD:E:2
On your offline machine, sign the TX:
$ mmgen-txsign --coin=eth --token=eos ABC123-EOS[10,50000].rawtx
On your online machine, send the TX:
$ mmgen-txsend --coin=eth --token=eos ABC123-EOS[10,50000].sigtx
View your EOS tracking wallet:
$ mmgen-tool --coin=eth --token=eos twview
Token creation/deployment example:
Install the Solidity compiler ('solc') on your system.
Create a token 'MFT' with default parameters, owned by ddeeff... (ABCDABCD:E:1):
$ scripts/create-token.py --symbol=MFT --name='My First Token' ddeeffddeeffddeeffddeeffddeeffddeeffddee
Deploy the token on the ETH blockchain:
$ mmgen-txdo --coin=eth --tx-gas=200000 --contract-data=SafeMath.bin
$ mmgen-txdo --coin=eth --tx-gas=250000 --contract-data=Owned.bin
$ mmgen-txdo --coin=eth --tx-gas=1100000 --contract-data=Token.bin
...
Token address: abcd1234abcd1234abcd1234abcd1234abcd1234
Create an MFT token tracking wallet and import your ETH addresses into it:
$ mmgen-addrimport --coin=eth --token=abcd1234abcd1234abcd1234abcd1234abcd1234 ABCDABCD-ETH[1-5].addrs
View your MFT tracking wallet:
$ mmgen-tool --coin=eth --token=mft twview
2018-07-25 12:57:04 +00:00
|
|
|
include scripts/create-token.py
|
2017-09-25 14:27:39 +03:00
|
|
|
include scripts/test-release.sh
|
2019-02-28 10:38:52 +00:00
|
|
|
include scripts/uninstall-mmgen.py
|
2016-11-14 14:45:08 +03:00
|
|
|
|
2016-03-06 08:55:50 +03:00
|
|
|
prune test/ref/__db*
|