Ethereum pre sale tutorial
although the pow mining mechanism is adopted, the block out mechanism of Ethereum is different from that of bitcoin. Due to the short block time of Ethereum, Ethereum is easy to form isolated blocks. Isolated blocks refer to the blocks that are not on the longest chain. Bitcoin's isolated blocks have no block rewards, but in Ethereum, isolated blocks can be referenced. The referenced isolated blocks are called "Uncle blocks", and their packaged data will also be recorded in the blockchain. Unlike bitcoin, Ethereum's TERT block has a reward, and each TERT block can get a reward of 4.375 Ethernet coins at most
Ethereum is a programmable and Turing complete blockchain development platform, which is equivalent to a decentralized global computer. In a programming system, there are usually some virtual machines to compile and execute. Java has JVM. In Ethereum, there is also Ethereum's virtual machine EVM, which can execute any complex algorithm code. Developers can use existing programming languages such as JavaScript or Python to create their own applications on Ethereum. Through Ethereum's virtual machine, you can easily issue digital assets, write smart contracts, set up and run decentralized applications, and set up decentralized autonomous organizations
eth is also known as the internal fuel of Ethereum. Unlike currency digital assets, Ethereum is not only used for transfer, but also for payment of smart contracts
in order to prevent the Ethereum blockchain from being full of junk contracts and junk applications, and to establish and run smart contracts on Ethereum, you must use eth to pay for smart contracts. For example, when you transfer your newly created digital assets on the Ethereum blockchain, you need to use eth to pay the handling fee instead of your newly created digital assets.
If you want to query the transaction records on the main network, you can use Etherscan. However, if you build your own private chain, how should you query the transaction records
the answer is that you need to listen to the logs on the chain, save them in the database, and then query them in the database. For example:
< pre t = "code" L = "Java" > varaddr = & quot& quot;< br />varfilter=web3.eth.filter({fromB lock:0 ,toBlock:' latest', address:addr });< br />filter.get(function(err,transactions){transactions.forEach(function(tx){
vartxInfo=web3.eth.getTransaction(tx.transactionHash);
/ / at this time, the transaction information txinfo can be stored in the database
})< br />}); Pre >
Web3. Eth. Filter() is used to monitor the log on the chain, and Web3. Eth. Gettransaction() is used to extract the information of the specified transaction. Once the transaction information is obtained, it can be stored in the database for query
recommend a practical introction, you can see: Ethereum tutorial
Method 1: steps of modifying mine.bat file
Step 1: right click mine.bat file and edit it
Step 2: modify your wallet address (adress field, black arrow), mine pool address (pool field, red arrow) and protocol settings (scheme field, yellow arrow) and save them
note: different eth pools use different protocols. Please visit the sample page of bminer's official website to find the protocols corresponding to common ore pools. For example, the protocol field corresponding to f2pool is ethproxy, and the protocol field corresponding to nanopool is ethash
Ethereum specifies the JSON RPC API application development interface that each node needs to implement. This interface is transport independent. Applications can use this interface protocol to operate Ethereum nodes through HTTP, websocket or IPC and other communication mechanisms:
on cryptokitties, you can buy virtual cats. By 17:00 Beijing time on December 6, 2017, the cheapest kitten had reached 0.037eth. Equivalent to 110 yuan per piece
then the kittens have some opinions about the generation. For example, Gen 12 indicates that it is the 12th generation, while Gen 20 indicates that it is the 20th generation. Generally speaking, the smaller the algebra, the more valuable it is. And you can make your kittens slap each other. For example, a Gen 1 kitten and a Gen 1 kitten will give birth to a Gen 2 kitten
you can sell your kittens and their offspring for money
but what if you don't have two kittens? If you only buy one kitten, you can use your kitten to have fun with other people's high-quality kittens. The fee also depends on the kittens (to be honest, this mechanism is very evil, similar to... Borrowing chickens to have children?) The quality of the proct. If your kitten is of high quality, you can also use your kitten to mate other people's kittens, and then you get Ethereum income
but kittens also have special fertility rates
every time a kitten gives birth to one generation, it will have a certain cooling time, and it can't regenerate kittens within the cooling time,
the cooling time is divided into several grades
fast: 1 minute
swift: 2 – 5 minutes
snappy: 10 – 30 minutes
brisk: 1 – 2 minutes
plodding: 4 – 8 minutes
slow: 16 – 24 minutes
sluggi Sh (lazy kitten): 2 – 4 days
catatonic (nervous kitten): 1 week
so the price of your cat also depends on its birth time
and generally speaking, the larger the algebra is, the higher the gen value is, and the slower their growth rate is
but I want to make complaints about it because CryptoKitties is too hot! Ethereum network has a little bit of a crash, the official recommended that every time you buy a cat, the minimum handling charge is 21000. 400000 fuel = 0.01eth. However, it is irritating that I raised the procere to 1.6 million fuel, which is 0.04, and Ethereum still failed. 0.04 Ethereum. That's more than 120 yuan. It's too dark.