Skip to content

Instantly share code, notes, and snippets.

@ProphetDaniel
Last active May 24, 2017 16:27
Show Gist options
  • Save ProphetDaniel/6afdea9b8300e43f940d5e80af4ed98f to your computer and use it in GitHub Desktop.
Save ProphetDaniel/6afdea9b8300e43f940d5e80af4ed98f to your computer and use it in GitHub Desktop.

Revisions

  1. ProphetDaniel revised this gist May 23, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Tutorial MetaMask ETC.md
    Original file line number Diff line number Diff line change
    @@ -88,9 +88,9 @@ ____
    ## Ethereum Classic mining with MetaMask
    Stop the geth client and restart with the following command in the terminal:
    `geth --rpc --mine --etherbase=0x0000000000000000000000000000000000000000'
    `geth --rpc --mine --etherbase=0x0000000000000000000000000000000000000000`
    Where instead of '0x0000000000000000000000000000000000000000'you should put the address of your ETC wallet given by MetaMask.
    Where instead of `0x0000000000000000000000000000000000000000` you should put the address of your ETC wallet given by MetaMask.
    _____
  2. ProphetDaniel revised this gist May 23, 2017. 1 changed file with 4 additions and 33 deletions.
    37 changes: 4 additions & 33 deletions Tutorial MetaMask ETC.md
    Original file line number Diff line number Diff line change
    @@ -85,43 +85,14 @@ attention MetaMask informs always the amount of ethers with ETH letters regardle
    Ethereum.
    ____
    ## Ethereum Classic wallet and mining
    ## Ethereum Classic mining with MetaMask
    Stop the geth client and restart with the following command in the terminal:
    `geth --rpc --mine --etherbase=0x0000000000000000000000000000000000000000`Where instead of '0x0000000000000000000000000000000000000000'you should add the address of the wallet given by MetaMask.
    `geth --rpc --mine --etherbase=0x0000000000000000000000000000000000000000'
    Where instead of 0x0000000000000000000000000000000000000000you should add the address of the wallet given by MetaMask.
    ## Ethereum Classic wallet
    To utilize more advanced features of go ethereum client there is the need to provide an account so that it becomes
    also possible to mine with it.
    ### Exporting private key
    In your account press the key to the right of the QR code to export your wallet's private key.
    ![](http://i.imgur.com/MLQZfjT.png?2)
    Enter your password and then click to copy the private key.
    Save it to a text file named Keyfile.txt containing just the copied private key.
    Then import the account with the following command:
    `geth account import Keyfile.txt`
    Once that is done geth will ask for a password. I suggest you to enter the same utilized by MetaMask.
    It should then show your ETC wallet address in the terminal screen which, pay attention, matches MetaMask's address.
    {9eeB4...XXX}
    ### Mining with the just created MetaMask account
    Save the password that you just created to a text file called Password.txt,
    stop the geth client and restart with the following command in the terminal:
    `geth --rpc --mine --unlock 0 --password Password`
    Where instead of '0x0000000000000000000000000000000000000000'you should put the address of your ETC wallet given by MetaMask.
    _____
    ## Conclusion
    In this tutorial the usage of MetaMask for Ethereum Classic was detailed covering the Go Ethereum client (geth) basic utilization, Ethereum Classic wallet creation through MetaMask, exporting the private key and importing MetaMask account for advanced utilization with Ethereum Classic's geth.
    In this tutorial the usage of MetaMask for Ethereum Classic was detailed covering the Go Ethereum client (geth) basic utilization, Ethereum Classic wallet creation through MetaMask, and mining classic ethers with MetaMask enabled.
  3. ProphetDaniel revised this gist May 23, 2017. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions Tutorial MetaMask ETC.md
    Original file line number Diff line number Diff line change
    @@ -85,6 +85,12 @@ attention MetaMask informs always the amount of ethers with ETH letters regardle
    Ethereum.
    ____
    ## Ethereum Classic wallet and mining
    Stop the geth client and restart with the following command in the terminal:
    `geth --rpc --mine --etherbase=0x0000000000000000000000000000000000000000`Where instead of '0x0000000000000000000000000000000000000000'you should add the address of the wallet given by MetaMask.
    Where instead of 0x0000000000000000000000000000000000000000you should add the address of the wallet given by MetaMask.
    ## Ethereum Classic wallet
    To utilize more advanced features of go ethereum client there is the need to provide an account so that it becomes
  4. ProphetDaniel revised this gist May 23, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Tutorial MetaMask ETC.md
    Original file line number Diff line number Diff line change
    @@ -93,7 +93,7 @@ also possible to mine with it.
    ### Exporting private key
    In your account press the key to the right of the QR code to export your wallet's private key.
    ![](http://i.imgur.com/MLQZfjT.png?1)
    ![](http://i.imgur.com/MLQZfjT.png?2)
    Enter your password and then click to copy the private key.
  5. ProphetDaniel revised this gist May 23, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Tutorial MetaMask ETC.md
    Original file line number Diff line number Diff line change
    @@ -93,7 +93,7 @@ also possible to mine with it.
    ### Exporting private key
    In your account press the key to the right of the QR code to export your wallet's private key.
    ![](http://i.imgur.com/MLQZfjT.png)
    ![](http://i.imgur.com/MLQZfjT.png?1)
    Enter your password and then click to copy the private key.
  6. ProphetDaniel revised this gist May 23, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Tutorial MetaMask ETC.md
    Original file line number Diff line number Diff line change
    @@ -107,7 +107,7 @@ It should then show your ETC wallet address in the terminal screen which, pay at
    {9eeB4...XXX}
    ### Mining with the just created MetaMask account
    Save the password that you just created to a text file called Password.txt
    Save the password that you just created to a text file called Password.txt,
    stop the geth client and restart with the following command in the terminal:
    `geth --rpc --mine --unlock 0 --password Password`
  7. ProphetDaniel revised this gist May 23, 2017. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions Tutorial MetaMask ETC.md
    Original file line number Diff line number Diff line change
    @@ -40,9 +40,7 @@ GOROOT=/usr/local/go
    ````
    Run geth with the following command:
    ```
    geth --rpc
    ```
    `geth --rpc`
    ## Setting up your account
    When you first create a vault, you will be prompted to save a certain number of seed words. These words can be used by
  8. ProphetDaniel renamed this gist May 23, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  9. ProphetDaniel created this gist May 23, 2017.
    123 changes: 123 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,123 @@
    # Tutorial MetaMask ETC

    ## Introduction
    The purpose of this tutorial is to show how MetaMask Chrome plugin can be utilized to ease basic wallet operations with
    the Ethereum Classic network.
    Acknowledgements are directed to MetaMask folks for creating this plugin and special thanks to Dan Finlay for his
    promptness and support toward Ethereum Classic community.

    ## Running Ethereum Classic's client
    Download latest geth for your operating system (OS)

    https://github.com/ethereumproject/go-ethereum/releases/latest

    In case your OS is linux

    After downloading geth to Downloads folder, open a terminal and enter Downloads folder. Then enter the following command
    in the terminal to install geth:

    `sudo cp geth /usr/bin`

    Test installation with the following commands:

    ```
    cd ..
    geth version
    ```

    The expected result is:

    ```
    Geth
    Version: v3.4.0
    Protocol Versions: [63 62]
    Network Id: 1
    Go Version: go1.8
    OS: linux
    GOPATH=
    GOROOT=/usr/local/go
    ````
    Run geth with the following command:
    ```
    geth --rpc
    ```
    ## Setting up your account
    When you first create a vault, you will be prompted to save a certain number of seed words. These words can be used by
    MetaMask to regenerate your vault if need be, as well as enabling the creation of new wallets within your vault.
    Store these seed words somewhere safe! Although MetaMask gives you the option to see your seed words, we recommend
    storing your seed words physically in the event that the MetaMask software fails. MetaMask is still in its development
    stage, so we don’t recommend storing large amounts of ETC in your MetaMask wallets just yet.
    ### The interface
    Moving forward, you should be taken to your first wallet, which looks something like this:
    ![](https://cdn-images-1.medium.com/max/600/1*zvHrLuSu-uASIW_cyUcjdA.png)
    #### The arrows corresponds to the following:
    * Pink: This is your editable wallet nickname. Underneath is a portion of the public key, or the hexadecimal address
    that uniquely identifies your wallet.
    * Teal: These buttons copy your wallet address to the clipboard and allow you to export your private keys.
    * Red: This indicates the current network. Clicking it will open a drop down menu to switch to the Main Ethereum
    Network, the Morden Test Network, or your own network of choice. **Choose localhost:8545 for Ethereum Classic**
    * Green: This button will take you to a page that will allow you to switch accounts.
    Below the current wallet information is a list of outgoing transactions from the current wallet with relevant
    information. Clicking the transaction itself will link you to an etherscan page with more detailed information.
    Sending ether to another address is simple. MetaMask will help guard you against sending to invalid addresses, as well
    as initiating transactions that send more ether than the current wallet contains. Before a transaction is actually
    executed, a notification pops up allowing you to confirm the transaction and examine relevant details.
    Don’t worry if you close the notification , the extension popup will prompt you to approve or reject any pending
    transactions the next time it’s opened.
    ![](https://cdn-images-1.medium.com/max/800/1*g_30JpWIrQr09pnzC1fiqg.png)
    Here, the accounts page shows an overview of your current wallets, a convenient button to copy wallet addresses, as well
    as the option to generate more wallets as needed.
    ### Conclusion
    Up to this point you have created an Ethereum account with MetaMask that will also work with Ethereum Classic. Pay
    attention MetaMask informs always the amount of ethers with ETH letters regardless if using Ethereum Classic or Forked
    Ethereum.
    ____
    ## Ethereum Classic wallet
    To utilize more advanced features of go ethereum client there is the need to provide an account so that it becomes
    also possible to mine with it.
    ### Exporting private key
    In your account press the key to the right of the QR code to export your wallet's private key.
    ![](http://i.imgur.com/MLQZfjT.png)
    Enter your password and then click to copy the private key.
    Save it to a text file named Keyfile.txt containing just the copied private key.
    Then import the account with the following command:
    `geth account import Keyfile.txt`
    Once that is done geth will ask for a password. I suggest you to enter the same utilized by MetaMask.
    It should then show your ETC wallet address in the terminal screen which, pay attention, matches MetaMask's address.
    {9eeB4...XXX}
    ### Mining with the just created MetaMask account
    Save the password that you just created to a text file called Password.txt
    stop the geth client and restart with the following command in the terminal:
    `geth --rpc --mine --unlock 0 --password Password`
    _____
    ## Conclusion
    In this tutorial the usage of MetaMask for Ethereum Classic was detailed covering the Go Ethereum client (geth) basic utilization, Ethereum Classic wallet creation through MetaMask, exporting the private key and importing MetaMask account for advanced utilization with Ethereum Classic's geth.