Commit graph

394 commits

Author SHA1 Message Date
ab06ca4ea8
Rename traceback file; bump version to 0.9.999 2018-10-30 18:50:18 +03:00
abbdda0dcf
Add return codes to exception classes, handle on exit 2018-10-24 17:09:51 +03:00
3b7fbc1462
test-release.sh: minor changes 2018-10-24 17:05:04 +03:00
67c94010f6
txsign(): improve error handling, always return control to caller 2018-10-23 19:12:33 +03:00
cf78183786
XMR: update wallet syncing tool for 0.13.0.2, add balance summary 2018-10-22 14:39:04 +03:00
92e6d77779
test.py ethdev: support UTF8 filenames, improve balance checks 2018-10-20 22:13:51 +03:00
87a865b9e8
Version 0.9.9a v0.9.9a 2018-10-19 12:06:46 +03:00
0408c4e304
Bitcoin Core v0.17.0 compatibility patch
- support new label API
- support new signrawtransactionwithkey RPC method
2018-10-19 03:30:04 +03:00
b00c11b578
confirm_or_exit() -> confirm_or_raise() 2018-10-16 19:28:33 +03:00
7ebe50dc0b
Use Exception attributes: e.message, e.code 2018-10-16 18:39:33 +03:00
bc3a3db877
Version 0.9.9 v0.9.9 2018-10-16 16:50:49 +03:00
9a89fa0a03
tw view: additional cleanups 2018-10-16 15:50:17 +03:00
084b493b7f
tw view: cleanups, interactive address removal for ETH 2018-10-15 18:58:57 +03:00
80e2530c98
Version 0.9.9rc1 v0.9.9rc1 2018-10-13 19:52:25 +03:00
da9af7fe89
ETH: add coin identifier to tracking wallet 2018-10-13 19:46:51 +03:00
a603f020e2
Add release notes for v0.9.9 2018-10-13 18:53:07 +03:00
ac64ad8b2f
Documentation updates 2018-10-13 18:06:37 +03:00
d9b344d1f5
eth: listaddresses, twview display fixes; add tests
- remove confirmations and days columns in address lists for eth
2018-10-13 18:00:03 +03:00
d4eb8f6ac0
Full Ethereum Classic (ETC) + ERC20 token support
As with ETH transacting support, this feature is in beta phase

All key functionality works, for both ETC and ETC tokens:
- Tracking wallet: getbalance, twview, listaddresses
- TX create, send, sign
- TX bumping
- ERC20 token creation, deployment

For usage details, see https://github.com/mmgen/mmgen/wiki/Altcoin-and-Forkcoin-Support

Differences from ETH:
- Start Parity with --jsonrpc-port=8555 (or --ports-shift=10) and --chain=classic
- Launch MMGen commands with --coin=etc
2018-10-02 21:09:48 +03:00
5eb0bea794
modified: README.md 2018-10-02 20:13:23 +03:00
254412b84d
test.py: eth_args -> eth_args() (minor change) 2018-10-02 10:26:47 +03:00
581ae5c8b2
addr.py: class KeyGeneratorPython cleanups
- move initialization of curve to __init__()
2018-09-30 18:27:01 +03:00
0d77a78a4c
protocol.py: check that private key is within allowable range
- if pk == 0 or pk == secp256k1_ge: FAIL
- if pk > secp256k1_ge: pk = pk % secp256k1_ge
2018-09-29 17:38:50 +03:00
610d0dd243
mmgen-tool: add ‘hextob58chk’ and ‘b58chktohex’ cmds 2018-09-29 13:57:32 +03:00
29933ce0bf
README: edit BIP32 section 2018-09-29 13:46:23 +03:00
dae04b206f
main_addrimport.py: improve error handling 2018-07-31 21:44:36 +03:00
c22fa846c9
move altcoin_data_dir (relocates testnet eth tracking wallet); help text fixes 2018-07-30 22:33:02 +03:00
4df12def5f
autosign: support testnet, ERC20 tokens 2018-07-29 17:24:29 +03:00
8aae3a8d31
Minor changes 2018-07-29 17:21:08 +03:00
d1970d1473
tx.process_cmd_args(); ETH: no-change tx support, tx.get_status(), other fixes 2018-07-28 16:52:43 +03:00
3fe7aad5aa
test.py: update regtest balances 2018-07-28 12:00:20 +03:00
caf37275da
ETH: fix tracking wallet upgrade regression 2018-07-27 18:23:14 +03:00
881d55993f
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 15:57:04 +03:00
e978b759d8
test/test.py,scripts/test-release.py: minor changes 2018-07-25 15:34:50 +03:00
e0dad2e108
test/test.py: update eth ref tx files 2018-07-25 14:08:58 +03:00
fad573eccd
tx.py,tw.py: cleanups, support tx inputs from cmdline 2018-07-24 00:17:05 +03:00
98d0fff70f
rpc_init() -> rpc_init_parity(),rpc_init_bitcoind() 2018-07-23 23:04:35 +03:00
cd4425ddf2
TwGetBalance: reimplement 2018-07-23 22:07:41 +03:00
556d1ca937
mmgen-addrimport: reimplement using TrackingWallet 2018-07-23 21:31:43 +03:00
7dc5405107
AddrData.__init__(): use altcoin_subclass() 2018-07-23 20:52:34 +03:00
6ab7a4d06c
eth autosign support 2018-07-23 20:20:45 +03:00
8b21259ef8
eth cfg file vars: max_tx_fee,mainnet_chain_name,testnet_chain_name 2018-07-23 20:09:48 +03:00
80ed8d1d4c
tx.py: add g.dcoin global var for token unit display 2018-06-08 11:29:01 +03:00
b2229644d6
tx.py: code cleanups 2018-06-08 11:18:49 +03:00
c9bc01cbb1
Altcoin module loading magic 2018-06-08 10:20:33 +03:00
430292d1da
New tool commands: gen_addr, gen_key
- generate a single coin address or key from the specified MMGen ID
2018-06-08 10:15:30 +03:00
d1e2bbb2e0
Minor changes 2018-06-08 10:12:14 +03:00
9d04a244ec
test.py: rewrite create_ref_tx, update reference tx files 2018-06-05 00:15:52 +03:00
1877571691
Run Parity with non-standard ports for testnet and dev mode 2018-06-05 00:09:05 +03:00
10879615b3
test.py: update reference address file checksums for testnet 2018-06-05 00:03:02 +03:00