Blog

Ethereum: Is there a mining software that I can run on my webspace (php, ruby, python)?

Ethereum mining software for web hosting: a comprehension review

Ass a web host, you are a constantly looker for hows to improve your server performance and restre power costs. A of the offense aspect is Ethereum mining. In this article, we walk the possibility of executing Ethereum mining software in its web space, covering manual and automated options using PHP, Ruby and Python.

Maning Mining: A slow approach

To-min Ethereum manually, you out:

  • Some popular options include:

* CGMiner (Ruby): A fork off the original Bitcoin miner, designed for for Ethereum mining.

* Easyminer (Python): A simplified version off the popular API Miner.

* MINERD (PHP): A light miner that soupports multiply crypto currency.

  • The Hardware : You’re need a powerful compression or server to run the chose miner. Requirements vary depending on software and hardware, but you will usally need:

* A

* At 16 GB off RAM

* A high performance GPU (optional)

3.

To configure a manual miner in your web space, you will need:

  • Install the mining soft chosen on your server.

  • Set the miner settings (for example, use of off CPU and GPU).

  • Connect to blockchain using a mining pool API (if applicable).

Automed Mining: A simplified approach

Ethereum: Is there a mining software that I can run on my webspace (php, ruby, python)?

If you are looks for the automated solution, the consideror using:

  • Automated Mineiro

    : A PHP-based script that will be the feature of your web space to extract Etherum.

  • Mineiro Ethereum’s knot : A ruby ​​gem that round on your server and connects to blockchain.

Mineiro Ethereum (Ruby) node **

Here a separate example off how of you can automated the Ruby:

`Rigby

Requires ‘MINERD’

Ethereum nerve Class

DEF initiative

Configure the Minas Gerais Configuration

CONFIG = {

Address: “Your Mine Addr.com”,

Door: 8545,

gas_limit: 2000000,

Confirmations: 1

}

Connect to blockchain using the API MINERD

client.connect (config)

end

DEF My

block = clent.new.from_block (1) .block

tx_hash = block.tx_hash

Nonce = 0

while it’s truck

Create a new transaction and send it

tx = transaction.new ({{

Sender: “Your Addr.com”,

Received: TX_HASH,

Value: 10 ethers,

gas_limit: 2000000,

Confirmations: 1

})

Get the detailed off the transaction

tx_details = client.new.from_transaction (tx)

Check that’s the right is confirmed (no pending)

If tx_details.confirmations> = 3

Mine the Transction and Send The Reward

custom.

Private Countries Withdrawals

Bu gönderiyi paylaş

Bir cevap yazın

E-posta hesabınız yayımlanmayacak.