pow20-mining

Deploy recursive covenants to enforce POW20 mining rules for BSV21 tokens.

5|1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/b-open-io/1sat-sdk --skill pow20-mining
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pow20-mining
Source: https://github.com/b-open-io/1sat-sdk/tree/main/skills/pow20-mining
Command: npx skills add https://github.com/b-open-io/1sat-sdk --skill pow20-mining

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

POW20 mining enables programmable, on-chain, time-layered minting of BSV21 tokens via sCrypt covenants, simplifying the creation and management of mineable tokens and their redemption workflows.

Core Features & Use Cases

  • Stateful mining contracts: enforce mining rules and token issuance on-chain via a recursive covenant.
  • Redeem/Update cycle: spend a contract UTXO to create a new one with updated supply and a miner reward inscription.
  • APIs & compatibility: integrates with 1sat APIs and Runar/sCrypt implementations for token state querying and broadcasting.
  • Use Case: Build mineable POW20 tokens, fetch current difficulty, submit solutions, and redeem new tokens.

Quick Start

To begin, prepare a valid preimage with your outpoint, nonce, and worker ID, then submit the redeem transaction to the POW20 contract.

Frequently Asked Questions about pow20-mining

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I mine POW20 tokens on BSV21?

To mine POW20 tokens on BSV21, you deploy and operate a recursive covenant that enforces mining rules, then submit a redeem transaction with a valid preimage containing your outpoint, nonce, and worker ID to claim token rewards.

What is a recursive covenant for BSV21 token mining?

A recursive covenant for BSV21 token mining is a stateful smart contract built with sCrypt that enforces mining rules on-chain, requiring miners to spend a contract UTXO to create a new one with updated supply and a miner reward inscription.

How do I calculate difficulty and fetch token state for BSV21 mining?

You calculate difficulty and fetch token state for BSV21 mining by integrating with 1sat APIs and Runar/sCrypt implementations, which allow you to query current contract UTXO states and broadcast redeem transactions across live networks and test environments.

Can I use sCrypt contracts to build mineable token issuance workflows?

Yes, you can use sCrypt contracts to build mineable token issuance workflows by deploying stateful covenants that programmatically manage token supply and automate redemption cycles for BSV21 tokens on-chain.

What's the best way to submit mining solutions for POW20 tokens?

The best way to submit mining solutions for POW20 tokens is to prepare a valid preimage with your outpoint, nonce, and worker ID, then submit the redeem transaction to the POW20 contract to update supply and claim rewards via 1sat APIs.

Does POW20 mining support test environments for BSV21 tokens?

Yes, POW20 mining supports test environments for BSV21 tokens, allowing developers to build and test minting miners, calculate difficulty, and validate redemption transactions before deploying to live networks.