update documentation from wiki

This commit is contained in:
The MMGen Project 2024-07-08 10:51:21 +00:00
commit d60cd3c9a9
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
6 changed files with 23 additions and 34 deletions

View file

@ -98,7 +98,7 @@ $ litecoind
```text
# Bitcoin Core:
$ bitcoind --daemon
$ bitcoind --daemon --deprecatedrpc=create_bdb
# Bitcoin Cash Node:
$ mkdir ~/.bitcoin-bchn

View file

@ -98,7 +98,7 @@ $ litecoind
```text
# Bitcoin Core:
$ bitcoind --daemon
$ bitcoind --daemon --deprecatedrpc=create_bdb
# Bitcoin Cash Node:
$ mkdir ~/.bitcoin-bchn

View file

@ -150,24 +150,10 @@ To transact ETH instead of EOS, omit the `--token` and `--token-addr` arguments.
##### Install the Solidity compiler
To deploy Ethereum contracts with MMGen Wallet, you need version **0.8.7** of
the Solidity compiler (`solc`) installed on your system. Although binary builds
may be available for some distributions, the best way to ensure you have the
correct version is to compile it from source.
Clone the repository and build:
```text
$ git clone --recursive https://github.com/ethereum/solidity.git
$ cd solidity
$ git checkout v0.8.7
$ ./scripts/install_deps.sh
$ mkdir build
$ cd build
$ cmake -DUSE_CVC4=OFF -DUSE_Z3=OFF ..
$ make -j4 solc
$ sudo install -v --strip solc/solc /usr/local/bin
```
To deploy Ethereum contracts with MMGen Wallet, you need version **0.8.26** or
newer of the Solidity compiler (`solc`) installed on your system. Static binary
builds are available from the Solidity [Github repository][sb]. For other ways
to install solc on your platform, refer to the [Solidity documentation][sd].
##### Create and deploy a token
@ -368,3 +354,5 @@ the MMGen Project.
[p8]: Install-Bitcoind#a_r
[ge]: https://github.com/ethereum/go-ethereum
[mx]: command-help-xmrwallet
[sb]: https://github.com/ethereum/solidity/releases
[sd]: https://docs.soliditylang.org

View file

@ -954,7 +954,7 @@ MMGen Wallet gives you several options for dealing with transaction fees.
Firstly, and most simply, you may do nothing, in which case the fee will be
calculated automatically using bitcoind’s `estimatesmartfee` RPC call. You can
adjust the estimated fee by any factor using the `--tx-fee-adj` option, a handy
adjust the estimated fee by any factor using the `--fee-adj` option, a handy
feature when you need transactions to confirm a bit more quickly. If network
fee estimation fails for any reason, you’ll be prompted to enter the fee
manually.
@ -999,7 +999,7 @@ Create, sign and send a BIP 125 replaceable transaction with a fee of 50
satoshis per byte:
```text
$ mmgen-txdo --rbf --tx-fee 50s 1AmkUxrfy5dMrfmeYwTxLxfIswUCcpeysc,0.1 0FDE89AB:S:5
$ mmgen-txdo --rbf --fee 50s 1AmkUxrfy5dMrfmeYwTxLxfIswUCcpeysc,0.1 0FDE89AB:S:5
...
Signed transaction written to file 'FEDCBB[0.1,50].sigtx'
...
@ -1016,7 +1016,7 @@ If the transaction fails to confirm in your desired timeframe, then create, sign
and send a replacement transaction with a higher fee, say 100 satoshis per byte:
```text
$ mmgen-txbump --send --tx-fee 100s --output-to-reduce c 'FEDCBB[0.1,50].sigtx'
$ mmgen-txbump --send --fee 100s --output-to-reduce c 'FEDCBB[0.1,50].sigtx'
...
Signed transaction written to file 'DAE123[0.1,100].sigtx'
...
@ -1032,7 +1032,7 @@ has a different identifier, since it’s a new transaction.
If this transaction also fails to confirm, then repeat the above step as many
times as necessary to get a confirmation, increasing the fee each time. The
only thing you have to modify with each iteration is the argument to `--tx-fee`.
only thing you have to modify with each iteration is the argument to `--fee`.
To reduce your typing even further, use the `--yes` switch to skip all
non-essential prompts.
@ -1042,7 +1042,7 @@ To achieve the same result as in the above example using a cold wallet, just
create the initial transaction with `mmgen-txcreate` instead of `mmgen-txdo`:
```text
$ mmgen-txcreate --rbf --tx-fee 50s 1AmkUxrfy5dMrfmeYwTxLxfIswUCcpeysc,0.1 89ABCDEF:S:5
$ mmgen-txcreate --rbf --fee 50s 1AmkUxrfy5dMrfmeYwTxLxfIswUCcpeysc,0.1 89ABCDEF:S:5
...
Transaction written to file 'FEDCBC[0.1,50].rawtx'
```
@ -1051,9 +1051,9 @@ Now create a series of transactions with incrementally increasing fees for
offline signing:
```text
$ mmgen-txbump --tx-fee 100s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
$ mmgen-txbump --tx-fee 150s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
$ mmgen-txbump --tx-fee 200s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
$ mmgen-txbump --fee 100s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
$ mmgen-txbump --fee 150s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
$ mmgen-txbump --fee 200s --output-to-reduce c 'FEDCBC[0.1,50].rawtx'
```
To speed things up, add the `--yes` switch to make `mmgen-txbump` completely

View file

@ -49,7 +49,7 @@ Type uppercase 'YES' to confirm: YES
just imported:
```text
$ mmgen-tool --bob listaddresses showempty=1
$ mmgen-tool --bob listaddresses
MMGenID ADDRESS COMMENT BALANCE
1163DDF1:C:1 mw42oJ94yRA6ZUNSzmMpjZDR74JNyvqzzZ - 0
1163DDF1:C:2 n1oszhfAyRrHi7qJupyzaWXTcpMQGsGJEf - 0
@ -70,7 +70,7 @@ $ mmgen-regtest send mw42oJ94yRA6ZUNSzmMpjZDR74JNyvqzzZ 500
7. Make sure the funds reached their destination:
```text
$ mmgen-tool --bob listaddresses showempty=1
$ mmgen-tool --bob listaddresses
MMGenID ADDRESS COMMENT BALANCE
1163DDF1:C:1 mw42oJ94yRA6ZUNSzmMpjZDR74JNyvqzzZ - 500
1163DDF1:C:2 n1oszhfAyRrHi7qJupyzaWXTcpMQGsGJEf - 0
@ -116,7 +116,7 @@ TOTAL: 500 BTC
`S:3`. Specify a fee of 20 satoshis/byte and make the output quieter:
```text
$ mmgen-txdo --alice --tx-fee=20s --quiet 9304C211:S:2,300 9304C211:S:3
$ mmgen-txdo --alice --fee=20s --quiet 9304C211:S:2,300 9304C211:S:3
...
Type uppercase 'YES' to confirm: YES
Transaction sent: 78ca853816b55527b42ca8784c887a5f482c752522f914d2f17d6afcd8a3b076
@ -153,7 +153,7 @@ $ mmgen-regtest mempool
16. List Alice’s addresses. Note that Alice has lost a bit to transaction fees:
```text
$ mmgen-tool --alice listaddresses showempty=1
$ mmgen-tool --alice listaddresses
MMGenID ADDRESS COMMENT BALANCE
9304C211:S:1 2N3HhxasbRvrJyHg72JNVCCPi9EUGrEbFnu - 0
9304C211:S:2 2N8w8qTupvd9L9wLFbrn6UhdfF1gadDAmFD - 300
@ -165,7 +165,7 @@ TOTAL: 499.999967 BTC
`S:1` address. This time Alice specifies an absolute fee in BTC.
```text
$ mmgen-txdo --alice --tx-fee=0.0001 --quiet 9304C211:S:1 n1oszhfAyRrHi7qJupyzaWXTcpMQGsGJEf,10
$ mmgen-txdo --alice --fee=0.0001 --quiet 9304C211:S:1 n1oszhfAyRrHi7qJupyzaWXTcpMQGsGJEf,10
...
Enter a range or space-separated list of outputs to spend: 1
...

View file

@ -146,7 +146,8 @@ $ git clone https://github.com/10gic/vanitygen-plusplus
$ cd vanitygen-plusplus
$ git checkout -b vanitygen-plus e7858035d092 # rewind to fork commit
$ make keyconv # ‘mingw32-make.exe keyconv’ for MSYS2
$ sudo install --strip keyconv /usr/local/bin # ‘keyconv.exe’ for MSYS2
$ sudo install --strip keyconv /usr/local/bin # Linux
$ install --strip keyconv.exe /usr/local/bin # MSYS2
$ cd ..
```