BlockChain區塊鏈
  • 本書簡介
  • 區塊鏈運作原理
  • Bitcoin介紹
    • 簡介
    • Bitcoin其他知識
  • Bitcoin原理與實作
  • BitcoinJS
    • BTC 地址格式種類
    • 從 Mnemonic 轉為地址
  • Serverless 架構實作
  • Docker常用指令
  • ethereum初探
    • ethereum歷史
    • EVM
  • ethereum PoS 節點架設
  • ethereum(Docker)
  • ethereum(Geth)
    • Parity
  • ethereum(智能合約)
    • 合約測試 Unit Test
    • DAO
    • 可升級合約
    • 使用合約進行 multiswap
    • 合約安全
    • 開發工具
    • Hardhat 教學
      • Hardhat 寫測試
    • ERC-721 範例
      • 白名單機制
    • OpenZeppelin 合約 library
    • Truffle
    • 合約部屬
    • solidity 教學
  • ethereum(Dapp)
    • 相關 SDK
    • Multicall
    • Ethers.js 使用
    • Remix IDE
    • web3.js 使用
    • 在網頁上使用 web3 並操作區塊鏈
      • solidity筆記
  • Hyperledger Fabric
  • blockchainDB
  • 挖礦程式使用教學
    • 門羅幣/Monero (XMR)
  • Bitfinex API 使用
  • FTX API
  • CCXT 通用交易所 API
  • Solana 教學
  • Ethereum BigQuery
  • The Graph
    • yaml 定義
    • mapping 語法
    • Schema 定義
    • Query 範例
    • Unit test
  • DeFi 筆記
    • MEV 相關
    • Dex 聚合
    • Yearn
    • Curve
    • Uniswap
      • Swap 互動
    • AAVE、Compound
      • Compound 原理
      • AAVE 合約開發
Powered by GitBook
On this page
  • 官方挖礦程式
  • CoinHive教學

Was this helpful?

  1. 挖礦程式使用教學

門羅幣/Monero (XMR)

Previous挖礦程式使用教學NextBitfinex API 使用

Last updated 5 years ago

Was this helpful?

官方挖礦程式

下載後解壓縮並點擊monero-wallet-gui.exe

CoinHive教學

一個可以使用瀏覽器挖礦的服務

1.先到網站註冊

建議用gmail許多郵箱收不到確認信

2.之後可使用

1.

或是

2.

const CoinHive = require('coin-hive');

(async () => {

  // Create miner
  const miner = await CoinHive('FacAWlIy3OrBsWVs88bKr2WwxZ8WnBlS'); // CoinHive's Site Key

  // Start miner
  await miner.start();

  // Listen on events
  miner.on('found', () => console.log('Found!'))
  miner.on('accepted', () => console.log('Accepted!'))
  miner.on('update', data => console.log(`
    Hashes per second: ${data.hashesPerSecond}
    Total hashes: ${data.totalHashes}
    Accepted hashes: ${data.acceptedHashes}
  `));

  // Stop miner
  // setTimeout(async () => await miner.stop(), 60000);
})();

進行挖礦

3.或是使用

https://authedmine.com/media/miner.html?key={填入你的key}

3.之後可到dashboard網頁查看

其他可參考此

https://coinhive.com/dashboard
https://lafudoci.gitbooks.io/monero-xmr/content/mining-tool.html
https://getmonero.org/downloads/
https://coinhive.com
https://coinhive.com/documentation/miner
https://github.com/cazala/coin-hive