@bsv/wallet-toolbox
Version:
BRC100 conforming wallet, wallet storage and wallet signer components
16 lines • 629 B
TypeScript
import { Transaction } from '@bsv/sdk';
import { MockChainStorage } from './MockChainStorage';
import { BlockHeader } from '../sdk/WalletServices.interfaces';
/**
* Creates a coinbase transaction for the given block height.
* Uses OP_TRUE (0x51) as the output script so anyone can spend it.
*/
export declare function createCoinbaseTransaction(height: number): Transaction;
export declare class MockMiner {
/**
* Mine a new block containing all unmined transactions.
* Returns the new block header.
*/
mineBlock(storage: MockChainStorage): Promise<BlockHeader>;
}
//# sourceMappingURL=MockMiner.d.ts.map