Skip to content

Commit

Permalink
Create miner.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 21, 2024
1 parent dc29d8b commit 418fbb6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions core/sidra-chain/miner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// miner.js
import * as Miner from 'iner';

class SidraChainMiner {
constructor(node) {
this.node = node;
}

mineBlock(transactions) {
// Mine a new block with the given transactions
}
}

export default SidraChainMiner;

0 comments on commit 418fbb6

Please sign in to comment.