Coder Social home page Coder Social logo

minecraft's Introduction

Minecraft: Livepeer Token Miner

Getting Started

There are two ways to use this DApp:

1. Use the IPFS Gateway

If you choose to use the latest copy of this DApp on IPFS. There are two options:

  • Use a web3-enabled browser to Generate a proof and submit the token mining transaction
  • Or visit https://ipfs.io/ipfs/QmUvAFQZxbgMCqCMLUSj2kQBpZUhj5qi8KhmPDVvv9apfj?address=ETH_ADDRESS to generate a proof. This proof can be used to submit a mining transaction through other means, such as MyEtherWallet. Be sure to replace ETH_ADDRESS with the address you'd like to generate a proof for.

2. Build and run locally

To install dependencies and start this dApp locally, run the following command:

yarn && yarn start

The command line output should display the url to visit in order to use this dApp.

How to Mine LPT

Step 1: Load Your Account

Once you are logged into web3 wallet, the Dapp will automatically pull in the address, ETH, and LPT balances for your wallet.

Step 2: Load Merkle Input Data

Click "Load" next to the Input Data URL text field, to download the compressed binary of all account addresses that are eligible to mine Livepeer Token. This is a big file and will take a while to load. After the download completes, your proof will begin generating automatically.

If your selected account is eligible to mine, the proof will appear in the textarea below the url input.

Step 3: Mine Your Token

You may now mine your LPT by clicking “Submit Proof”. Confirm your transaction details, submit, and once the transaction completes successfully, your LPT balance should show a value greater than “0.0”. Congratulations, now that you're an official Livepeer Token holder, you're ready to participate in the protocol! 🎉

Head over to the Protocol Explorer and start delegating »

Troubleshooting

It’s telling me Web3 is not enabled

In order to mine LPT, you will need to use a web3-enabled browser such as Mist or a browser extension such as MetaMask.

My account never loads

You may need to unlock your account through your browser extension or plugin. Also be sure you are connected to the Ethereum Main Network (not Rinkeby, Ropsten, etc).

I couldn’t generate a proof

Only account address with a balance >= .1 ETH prior at Ethereum block #5264265 are able to generate LPT through this dapp. If your address does not fit that criteria, you won’t be able to mine LPT with this dapp.

Note: There is also a possibility the input data you are providing is incorrect or not sorted properly. If you think this may be the case, please refer to the mining specification for more information: https://github.com/livepeer/merkle-mine/blob/master/SPEC.md

minecraft's People

Contributors

dob avatar jozanza avatar vikmeup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

minecraft's Issues

i couldn't generate a proof.

I'm finded this as soloution :

Only account address with a balance >= .1 ETH prior at Ethereum block #5264265 are able to generate LPT through this dapp. If your address does not fit that criteria, you won’t be able to mine LPT with this dapp.

So i have an wallet with about 0.31 Etherium.
But what is the :

prior at Ethereum block #5264265

Can you explain me more ?
How can i get an Etherium wallet with corrwect address ?
please help me.
Thanks

how to proceed once I have the proof?

Your README.md says

Or visit https://gateway.ipfs.io/ipfs/QmUvAFQZxbgMCqCMLUSj2kQBpZUhj5qi8KhmPDVvv9apfj?address=ETH_ADDRESS to generate a proof. This proof can be used to submit a mining transaction through other means, such as MyEtherWallet.

I now got the "proof" for one of my (non-MetaMask) addresses.

To which smart contract address do I now submit that proof?

What exactly is that "proof" (content of the [textarea readonly="" class="merkleProof"]) in terms of Ethereum transactions?

Not detecting web3 via Parity Ethereum Integration

Expected Behavior

It should detect web3 js integration and open the website as normal.

Current Behavior

It does not detect web3 integration through Parity Ethereum Chrome extension and throws the following error:

Web3 is not enabled in your browser. Please download an extension such as Metamask.

Context

I was trying to submit proof to claim LPT tokens. But because of this I was not able to do it.

Steps to Reproduce 🐞

  1. Install Parity
  2. Install the plugin from https://chrome.google.com/webstore/detail/parity-ethereum-integrati/himekenlppkgeaoeddcliojfddemadig?hl=fr
  3. Open https://gateway.ipfs.io/ipfs/QmRSjvHTmayqGf3sDuZzZZCRE3HPQUTBBHdoaqnXwb4VAS

Screenshot 1

screen shot 2018-05-02 at 12 47 10 am

Screenshot 2

screen shot 2018-05-02 at 12 47 18 am

Environment

  1. Chrome Version 66.0.3359.139
  2. Parity v1.9.7-20180423 stable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.