IFaaS is FACTOR's on-chain marketplace for funded integer factorization challenges. These three Python utilities use FACTOR Core RPC to fund a Deadpool bounty, announce a divisor and claim available rewards.
FACTOR, formerly FACT0RN/FACTØRN, is an independent Layer-1 blockchain using integer factorization as its principal proof-of-work challenge. FACT is its native coin. IFaaS runs on that chain; it has no separate token.
Worked example · RPC reference and examples · Knowledge index · Agent guidance
A requester chooses an integer and a bounty. Other people can add funds for the same integer. A solver announces a commitment to a divisor and payout script, burning FACT. Once the announcement matures, the solver can spend eligible bounty outputs and receive their value minus fees.
For example, Alice offers 10 FACT and Bob adds 20 FACT for the same integer. A solver can claim both outputs for a total of 30 FACT before fees. The announcement burn is a separate expense; it is not deducted from that bounty.
Bounties are voluntary offers: there is no automatic repricing, guaranteed solution or payout to every solver. Eligible solvers can race for the same unspent outputs.
Mining and Deadpool use different rules. Mining proofs are tied to candidate blocks and have factor-size and probable-primality requirements. A Deadpool claim only needs a proper divisor: 1 < p < N and N mod p = 0. Neither prime factors nor complete factorization are required.
| Component | Role |
|---|---|
| Factor / Core | Blockchain validation, wallet and FACT settlement |
| Deadpool | Bounty, announcement and claim protocol |
| Gateway | Requester entry interface |
| KeyBoard | Bounty/activity dashboard |
| Factory | Mining/computational environment |
| These utilities | Local RPC wrappers; they do not solve integers or host those interfaces |
You need Python 3, a compatible synchronized FACTOR Core node with Deadpool active, and factorn-cli at ./factorn-cli relative to your working directory. Run the scripts from this repository's root. Get binaries from Core releases, verify the publisher's checksums, and follow Core installation instructions.
All scripts import NumPy and SymPy even though neither is used:
python3 -m venv .venv
. .venv/bin/activate
python3 -m pip install numpy sympyCheck your node with ./factorn-cli getblockchaininfo, getnetworkinfo and help createdeadpoolentry. Entry and announcement operations need a loaded wallet, spendable funds and signing access. To load an existing wallet, use ./factorn-cli loadwallet "wallet_name". The scripts do not manage unlocking or accept network, wallet, data-directory or CLI-path options. Configure and verify their default connection first; a manual -regtest flag is not inherited by later script calls. No Python/Core compatibility matrix has been tested.
All three scripts broadcast automatically, without a dry-run or confirmation prompt. Experiment in isolated regtest with disposable funds and synthetic targets. Mainnet and testnet broadcasts publish data.
Every argument below is required. Amounts are FACT; large integers are decimal strings.
python3 create_deadpool_entry.py <bounty_amount> <decimal_N>
python3 announce.py <burn_amount> <payout_address> <decimal_N> <decimal_divisor>
python3 claim.py <payout_address> <decimal_N> <decimal_divisor>
The worked example follows a specific integer through all three steps and explains how to confirm the result. The RPC guide shows manual construction and sample responses.
| Subject | Reviewed behavior |
|---|---|
| Target integer | Positive N, excluding 0 and 1; the integer checker accepts 160–4,159 bits. Separate script-size limits mean the upper bound is not an end-to-end usability guarantee. |
| Mainnet burn | At least 0.01 FACT (1,000,000 base units) for a recognized announcement; actual burns may be higher. Under-minimum outputs still destroy value but do not establish eligibility. |
| Announcement age | Mainnet: 100–772 blocks inclusive. Testnet/signet/regtest parameters: 5–105. Eligibility depends on claim height and active rules, not elapsed time. |
| Settlement | A claim spends available bounty outputs to one commitment-bound payout, less fees. Construction or broadcast does not establish confirmation. |
The old 672-block maximum-age statement was inaccurate: mainnet maturity is 100 and validity is 672, giving a maximum age of 772. At nominal 30-minute spacing, maturity is about 50 hours and maximum age about 16 days 2 hours. See the height calculation.
Targets, amounts and announcements are public; claims reveal the divisor and payout script. The commitment provides no confidentiality or anonymity guarantee. Burns destroy FACT; bounty payouts and collected transaction fees transfer it. Increased use does not guarantee deflation.
These are reference scripts for trusted input in controlled environments. They concatenate shell commands (shell=True), inadequately check failures, and broadcast without checking signing's complete flag or reviewing fees. They print transaction data and divisor-bearing commands; process arguments and logs can also expose factors. Quoting input alone does not make them safe.
create_deadpool_entry.py has an insufficient argument-count check. claim.py has an extra .py in its usage text, builds JSON through string replacement and selects all indexed entries without filtering spent outputs. Index totals include historical claimed entries and may be stale after reorgs. The scripts do not enforce maturity. These issues remain unfixed; code hardening is a separate phase.
Keep RPC private and protect credentials, wallet backups and unrevealed divisors. Publish only authorized targets. See Core security guidance.
Start with the Knowledge Center, Core IFaaS guide and local knowledge index, which connects website knowledge, engineering specifications, implementation and tests. The workflow also credits the three original Deadpool articles and explains their outdated claims. Most website knowledge/technical endpoints were unavailable during review; hosted service availability was not tested.
Protocol rules were checked against Core source with version fields 6.0.43; the exact source is recorded in the index. Actual node versions, deployments and validated chain state govern behavior.
Use this repository's issues and pull requests, and consult Core contribution guidance. Confirm a private reporting route before sharing vulnerability details. Distributed under the existing MIT license, retaining FACT0RN attribution.