# Lokiwiki - Flokicoin Knowledge Source > Technical guides for Flokicoin, Lokichain, and the Lokihub ecosystem. This file contains all documentation content in a single document following the llmstxt.org standard. ## Economy import EconomyNow from '@site/src/components/EconomyNow'; // eslint-disable-line no-unused-vars import Amount from '@site/src/components/Amount'; // eslint-disable-line no-unused-vars import rewardOverTimeImage from './reward_over_time.webp'; import supplyOverTimeImage from './supply_over_time.webp'; import inflationRateImage from './inflation_rate_over_10_years.webp'; ## How the Money Works Flokicoin's monetary policy is hard-coded. Every number on this page is verifiable on-chain — no surprises, no changes behind closed doors. ## Key Numbers - **Block time** — 1 minute. - **Halving** — Every 210,000 blocks (~5 months). - **Starting reward** — FLC per block. - **Tail emission** — A permanent FLC per block once halvings finish. - **Coinbase maturity** — 300 blocks (~5 hours before you can spend mined coins). ## How the Block Reward Changes Over Time The reward starts high and halves on a fixed schedule. Once it would drop below , it stays there forever. That's the tail emission — a permanent security budget that keeps miners incentivized indefinitely. :::important[Why tail emission matters] Most chains with a hard cap will eventually rely only on transaction fees to pay miners. Flokicoin avoids that gamble with a small, constant block reward that never stops. ::: ## Reward Schedule | Blocks | Reward | Approx. Halving Date | Cumulative Supply (million FLC) | |---------------------|------------------------------:|-----------------------|--------------------------------:| | → 210,000 | | 2025-11-26 | 210.00 | | 210,000 → 420,000 | | 2026-04-20 | 315.00 | | 420,000 → 630,000 | | 2026-09-13 | 367.50 | | 630,000 → 840,000 | | 2027-02-06 | 393.75 | | 840,000 → 1,050,000 | | 2027-07-02 | 406.88 | | 1,050,000 → 1,260,000 | | 2027-11-25 | 413.44 | | 1,260,000+ | (fixed) | — | - | ## Long-Term Inflation Once tail emission kicks in, new coins are minted at a fixed rate of FLC per year. Because the total supply keeps growing, the inflation rate drops every year: ### Definitions - Annual issuance E = R × B, where R is the per‑block reward () and B is blocks per year (525,600). - Annual inflation (%) = (E ÷ total supply at year start) × 100. :::note Projections assume the average block interval stays close to 1 minute. Real‑world issuance varies with network conditions. ::: | Year | Total Supply(million FLC) | Annual Inflation Rate(%) | |-----:|-------------------------------:|-----------------------------:| | 1 | 424.48 | 2.67 | | 2 | 435.51 | 2.60 | | 3 | 446.55 | 2.53 | | 4 | 457.59 | 2.47 | | 5 | 468.63 | 2.41 | | 6 | 479.67 | 2.36 | | 7 | 490.70 | 2.30 | | 8 | 501.74 | 2.25 | | 9 | 512.78 | 2.20 | | 10 | 523.82 | 2.15 | ## Live Metrics Real-time numbers from the Flokicoin network: --- ## Lokiwiki — Flokicoin Documentation & Guides import heroImage from './hero.webp'; import Link from '@docusaurus/Link'; // eslint-disable-line no-unused-vars import Heading from '@theme/Heading'; // eslint-disable-line no-unused-vars import { Wallet, Zap, Pickaxe, Code, TrendingUp, Server } from 'lucide-react'; Such Wiki Practical docs for the Flokicoin ecosystem. Get a Wallet Run a Node Explore Lokihub How to Participate Pick a path and get started. {/* --- Wallets Path --- */} Wallets Secure your assets. Find the perfect wallet for your needs, including the recommended tWallet with Lightning support. {/* --- Lokihub Path --- */} Lokihub Run your Lightning node. Manage funds, channels, and apps from a single dashboard. {/* --- Miner Path --- */} Mining Start earning rewards. Help secure the network with GPU or ASIC mining and join community pools. {/* --- Developer Path --- */} Builders Build the future. Explore RPC parameters, FIPs, and the core reference implementation for Lokichain. {/* --- Economy Path --- */} Economy Understand scarcity. Track the issuance schedule, halving cadence, and the long-term tail emission model. {/* --- WoF Path --- */} Web of Fun Explore apps. Build and use everyday services powered by the Nostr protocol and decentralized work.
Looking for AI Context files? We publish llms.txt and llms-full.txt static files containing the full docs in a streamlined Markdown-style format optimized for AI.
--- ## FIP-05: Difficulty Adjustment Author: Thiniboy Status: Final Created: 2025-07-18 ## Summary Adopt a per-block, Digishield-style difficulty retarget using an exponential moving average (EMA) toward the one-minute target spacing. The algorithm improves responsiveness to hashrate shocks while damping oscillations and reducing variance. ## Motivation Long retarget windows allow exploitable oscillations and long periods of off-target difficulty. A per-block EMA responds quickly to changes while preserving stability. ## Specification - Target spacing T = 60 seconds. - At each block n, update an EMA of observed spacings with amplitude divisor 8 (effectively an 8-sample EWMA). - Apply bounded damping on each step to limit the effective spacing influence to the range [0.75·T, 1.5·T]. - Compute the next target by scaling the previous target by the ratio of clamped spacing to T, subject to consensus limits. - Allow minimum-difficulty blocks when the observed spacing exceeds a chain-parameterized threshold (where enabled). :::important **Activation (mainnet):** block 115,000. ::: ## Rationale Per-block EMA reduces lag compared to long-window retargets while the clamp prevents over-reaction to outliers. Similar approaches were proven in other UTXO chains under the “Digishield” family. ## Reference Implementation Implemented in `go-flokicoin` and enabled via chain parameters. See release [0.25.7-beta](/lokichain/releases/0.25.7-beta) and consensus changes therein. ```text Inputs: T := 60 seconds (target spacing) Divisor := DigishieldAmplitudeDivisor (8 in Flokicoin) ClampMin := 0.75 × T ClampMax := 1.50 × T prevTarget := last difficulty target (integer) actualSpan := timestamp_n - timestamp_{n-1} Algorithm: 1. modulatedSpan ← T + (actualSpan - T) / Divisor 2. modulatedSpan ← clamp(modulatedSpan, ClampMin, ClampMax) 3. nextTarget ← prevTarget × modulatedSpan / T 4. nextTarget ← min(nextTarget, PowLimit) Result: Convert nextTarget back to compact bits for the header. Note: when ReduceMinDifficulty is enabled, a separate rule mints a minimum-difficulty block if actualSpan exceeds DigishieldLateBlockMultiple × T. That shortcut is orthogonal to the per-block EMA above. ``` --- ## FIP-06: Merge Mining Author: Izimmerma <izimer@ohstr.com> Status: Final Created: 2025-08-15 ## Abstract Lokichain adopts Auxiliary Proof-of-Work (AuxPoW) so miners can reuse work found on a parent proof-of-work chain. The AuxPoW envelope supplies the parent header, coinbase commitment, and merkle proofs needed to show that the Lokichain block header was embedded in the parent block’s work. ## Motivation Merge mining allows Lokichain to inherit a larger network’s hashrate without demanding miners split their effort. Following established AuxPoW conventions reduces the integration burden for mining pools while preserving consensus clarity. ## Terminology - **Parent blockchain:** The network whose valid block header and proof-of-work are reused by Lokichain (e.g., any scrypt-family PoW chain). - **Auxiliary blockchain:** Lokichain, which validates AuxPoW data and accepts the parent work as its own. - **AuxPoW block:** A Lokichain block that may not satisfy the child difficulty target on its own but includes proofs that the parent block’s work does. - **Aux work merkle tree:** The commitment structure rooted in the parent coinbase that yields both the coinbase branch (into the parent merkle root) and the chain branch (down to the Lokichain header commitment), enabling multiple auxiliary chains to share a single parent block. ## Specification Lokichain marks a header as AuxPoW-enabled by setting bit 8 of the version field (`VersionAuxPow`) and writing the six-bit chain identifier into bits [16..21]. When this flag is present the node appends the following payload immediately after the 80-byte base header and before the transaction vector: | Field | Type | Purpose | | --- | --- | --- | | `aux_version` | 1 byte | AuxPoW payload version. Lokichain uses `0x00`. | | `parent_coinbase_tx` | Serialized transaction | Full parent coinbase transaction containing the merge-mining commitment. | | `coinbase_branch` | Merkle branch (`var_int` length, 32-byte hashes, 32-bit side mask) | Proves the coinbase transaction is included in the parent merkle root. | | `chain_branch` | Merkle branch (optional) | Proves the Lokichain commitment within the Aux work merkle tree; empty when the parent block services only Lokichain. | | `parent_header` | 80-byte serialized header | Parent chain header whose proof-of-work will be validated against Lokichain’s requirement. | ### Aux proof-of-work block Fields serialize in the table order above. `aux_version` is fixed at `0x00`; `coinbase_branch` must have a side mask of `0` because the coinbase resides at index 0; `chain_branch` may be length zero when Lokichain is the only auxiliary chain. Lokichain omits the legacy standalone `block_hash` element—nodes recompute it from the provided header and merkle data. ### Parent coinbase commitment Miners place the merged-mining marker `0xfa 0xbe 'm' 'm'` in the `scriptSig` of `parent_coinbase_tx`, immediately followed by: 1. `chain_root` — the double-SHA256 root obtained by folding `chain_branch` over the current Lokichain block hash, encoded little-endian in the script. 2. `tree_size` — a little-endian `uint32` that must equal `1 << chain_branch.Size()`. 3. `merkle_nonce` — a little-endian `uint32` mixed with the AuxPoW `chain_id` to pick Lokichain’s deterministic slot in the Aux work tree. :::tip Lokichain uses `0x21` as its AuxPoW `chain_id`. ::: When only Lokichain participates, `chain_branch` is length zero and `chain_root` is just the current Lokichain block hash. With multiple auxiliary chains, miners supply the branch proving Lokichain’s leaf inside the shared Aux work tree. ### Validation rules Lokichain consensus validates AuxPoW blocks as follows: - Require the AuxPoW header bit and correct `ChainID` encoding for the current network parameters. - Hash `parent_header` and ensure the resulting proof-of-work meets or exceeds the Lokichain difficulty target for the block height. - Recalculate the parent merkle root using `parent_coinbase_tx` and `coinbase_branch`, ensuring it matches the root in `parent_header`. - Verify `coinbase_branch.SideMask` is zero and the coinbase transaction size stays within consensus limits. - Combine the current Lokichain block hash with `chain_branch` (if present) to derive `chain_root`, and verify the little-endian bytes appear in the parent coinbase exactly after the merged-mining marker. - Check that `tree_size` equals `1 << chain_branch.Size()` and that the `SideMask` from `chain_branch` matches the deterministic index `getExpectedIndex(merkle_nonce, chain_id, branch_size)`. - Confirm standard Lokichain consensus rules on the current block header (previous-hash linkage, difficulty bits, median time, and contextual checks). - Reject AuxPoW payloads that include the deprecated `block_hash` field or otherwise mismatch the expected serialization. :::important **Activation (mainnet):** block 115,840. ::: ## Rationale Reusing the long-standing merged-mining structure keeps BIP-compliant semantics while the omission of the redundant `block_hash` field delivers a modest bandwidth and storage optimisation. The structure is compatible with existing pool software that already supports AuxPoW networks. ## Reference Implementation Implemented in `go-flokicoin` (wire + consensus). See release [0.25.7-beta](/lokichain/releases/0.25.7-beta) for activation parameters and wire structs. ### RPC Support AuxPoW mining is exposed over the standard RPC interface: ``` createauxblock ``` Returns an object containing: - `hash` — identifier miners must hash in the parent chain coinbase. - `chainid` — Lokichain’s chain identifier (decimal `33`, hex `0x21`). - `previousblockhash`, `height`, `bits`, `target` — child-chain context and work target. - `coinbasevalue` — child-chain coinbase payout in atomic units. Example response: ``` { "hash": "0c63598bf66646ee9bf80797a40d607d12db9a6bc97fd4b98da70c904dd250c8", "chainid": 33, "previousblockhash": "94f1f588f620713ef99dfb1b2f3079a0f4545d4e15035e8227c5534dea965f33", "coinbasevalue": 100000000000, "bits": "202f725e", "height": 13, "target": "2f725e0000000000000000000000000000000000000000000000000000000000" } ``` Miners call: ``` submitauxblock ``` Where `auxpow_hex` is the serialized AuxPoW payload built from the parent block template. --- ## FIPs Flokicoin Improvement Proposals (FIPs) are design documents providing information to the Flokicoin community, or describing new features, their rationale, and technical specifications. Current proposals: - [FIP-06: Merge Mining](/lokichain/fips/FIP-06) - [FIP-05: Difficulty Adjustment](/lokichain/fips/FIP-05) --- ## Lokichain import Link from '@docusaurus/Link'; import { Rocket } from 'lucide-react'; Lokichain is the blockchain behind Flokicoin. It validates every transaction, enforces the consensus rules, and keeps everything decentralized. If you want to understand the engine under the hood, you're in the right place. :::release **Latest release**: Flokicoin Core [v0.25.13-alpha](/lokichain/releases/0.25.13-alpha) — our current reference implementation. ::: ## Run a Node Running a full node is the most direct way to support the network. Your node verifies the entire chain independently and serves RPCs for wallets, miners, and apps. :::tip[Quick option] Want a simpler setup? Try the community plug‑and‑play node at [myfloki.com/fullnode](https://myfloki.com/fullnode). ::: ## Build on Lokichain Whether you're building a wallet, an explorer, or something new — here's where to start: - **FIPs** — See how the protocol evolves via [Flokicoin Improvement Proposals](/lokichain/fips). - **Releases** — Track every [software version](/lokichain/releases). - **Source code** — Browse and contribute to [go-flokicoin](https://github.com/flokiorg/go-flokicoin). ## Deploy to Lokihub The Lokihub App Store is the central hub for community applications. If you've built a Lightning-enabled app, you can deploy it directly to the ecosystem via our open-source store. Ready to Launch? Learn how to submit your application to the Lokihub App Store and reach thousands of node operators instantly. Submit Your App ## Mine Miners provide the hashpower that makes the chain immutable. You'll need the latest node software and a Scrypt ASIC or GPU. - **Get started** — [Mining setup guide](/mining). ## How It Works Lokichain is a peer-to-peer network. Every node enforces the same rules, so there's no single point of failure. The consensus rules are updated through FIPs — think of them as the "laws" of the network. ## Get Help - **Discord** — Join the conversation in [#dev](https://flokicoin.org/discord). - **GitHub** — Report bugs or suggest features via [Issues](https://github.com/flokiorg/go-flokicoin/issues). --- ## 0.25.1-beta Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/go-flokicoin/issues GitHub release tag: [v0.25.1-beta](https://github.com/flokiorg/go-flokicoin/releases/tag/v0.25.1-beta) ## Notes - This is a pre-release for testing and feedback. - Developers and early adopters are encouraged to report issues. --- ## 0.25.10-beta GitHub Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/go-flokicoin/issues This release tightens RPC correctness, improves sync heuristics, refreshes checkpoints, and renames the daemon/CLI binaries. Upgrade to stay aligned with the network and to adopt the new `lokid`/`lokid-cli` names. ## Upgrade notes - Daemon and CLI renamed to `lokid` and `lokid-cli` (previously `flokicoind`/`flokicoind-cli`). Update service files, scripts, and container entrypoints accordingly. ## Highlights - Consensus and checkpoints - Refreshed mainnet checkpoints through height 209,771 to speed up initial sync. - Networking and sync - Improved outbound peer group tracking and ensured peers answer `getblocks`, reducing stalls near tip. - Tightened download scheduling when already current to avoid redundant fetches. - Refined block header/message serialization for sturdier I/O paths. - RPC - `getblockchaininfo` now derives verification progress from best peer headers; `getblock` exposes richer block details. - `getrawtransaction` response types and help text now match payloads; `createrawtransaction` enforces stricter amount validation. - Added block statistics aggregation powering `getblockstats` (fee/size percentiles, UTXO deltas). - `getinfo` reports the correct P2P protocol version and fills missing fields. - Mempool and validation - Switched value bounds to full `int64` range and guarded dust checks against overflow when computing `MaxLoki`/fee policy. - Validation errors now emit properly cast `MaxLoki` values to avoid misleading messages. - Tooling and tests - Added deterministic block dataset generator (`make testexport`) and refreshed fixtures for CI stability. - Strengthened difficulty/statistics and outbound group accounting test coverage. ## Notable commits (chronological) - Tooling/fixtures refresh and `testexport` helper ([`31eff16`](https://github.com/flokiorg/go-flokicoin/commit/31eff16), [`0e5dcd3`](https://github.com/flokiorg/go-flokicoin/commit/0e5dcd3)). - RPC/build fixes for protocol/version reporting and banners ([`651a453`](https://github.com/flokiorg/go-flokicoin/commit/651a453), [`2e92497`](https://github.com/flokiorg/go-flokicoin/commit/2e92497)). - Policy safety for `MaxLoki` range and dust overflow guards ([`9d9eef1`](https://github.com/flokiorg/go-flokicoin/commit/9d9eef1), [`5b583c0`](https://github.com/flokiorg/go-flokicoin/commit/5b583c0)). - RPC correctness updates and block stats package ([`4483bfa`](https://github.com/flokiorg/go-flokicoin/commit/4483bfa), [`ed3f11b`](https://github.com/flokiorg/go-flokicoin/commit/ed3f11b), [`04bfa8b`](https://github.com/flokiorg/go-flokicoin/commit/04bfa8b)). - Daemon rename, checkpoints, sync/p2p/rpc refinements leading to 0.25.10-beta ([`66a4658`](https://github.com/flokiorg/go-flokicoin/commit/66a4658), [`037c55c`](https://github.com/flokiorg/go-flokicoin/commit/037c55c), [`9f457dd`](https://github.com/flokiorg/go-flokicoin/commit/9f457dd), [`3388ec1`](https://github.com/flokiorg/go-flokicoin/commit/3388ec1), [`3d115e4`](https://github.com/flokiorg/go-flokicoin/commit/3d115e4), [`5eadc7b`](https://github.com/flokiorg/go-flokicoin/commit/5eadc7b), [`91a004e`](https://github.com/flokiorg/go-flokicoin/commit/91a004e), [`fbbef28`](https://github.com/flokiorg/go-flokicoin/commit/fbbef28)). ## Assets | OS/Arch | Asset | | --- | --- | | macOS (Apple Silicon) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.10-beta/lokid-darwin-arm64-v0.25.10-beta.tar.gz | | macOS (Intel) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.10-beta/lokid-darwin-amd64-v0.25.10-beta.tar.gz | | Linux x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.10-beta/lokid-linux-amd64-v0.25.10-beta.tar.gz | | Linux arm64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.10-beta/lokid-linux-arm64-v0.25.10-beta.tar.gz | | Windows x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.10-beta/lokid-windows-amd64-v0.25.10-beta.zip | | Windows 32-bit | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.10-beta/lokid-windows-386-v0.25.10-beta.zip | Additional builds (ppc64, mips, *BSD, illumos/solaris) are available on the [GitHub release page](https://github.com/flokiorg/go-flokicoin/releases/tag/v0.25.10-beta). --- ## 0.25.11-alpha GitHub Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/go-flokicoin/issues This release focuses on fee estimation durability, RPC polish, and better accounting for mempool churn. ## Upgrade notes - Fee estimator snapshots now live on disk as `fee_estimates.dat` under the data dir (atomic write/read). Ensure the daemon can write there on shutdown; stale files older than ~60h are ignored on startup. ## Highlights ### Fee estimation - **History Tracking**: Tracks up to 1008 blocks of history and caps long-horizon queries instead of rejecting them, aligning with Bitcoin Core behavior. - **Mempool Churn**: Records mempool removal reasons so unconfirmed drops (conflicts, reorgs, evictions, rejects) clear estimator state and reduce stale observations. - **Smart Fee Modes**: `estimatesmartfee` now accepts `economical` or `conservative` modes (defaults conservative) and reports invalid modes cleanly; the result includes an explicit `errors` field. ### Persistence - **Atomic Saves**: Fee estimator state is saved atomically to disk on shutdown and restored on startup when fresh; stale data surfaces an error and is skipped. ## Notable commits - mempool: track removal reasons in fee estimation; widen history to 1008 blocks and cap queries. - mempool: persist fee estimator to disk with atomic writes and staleness checks. - versioning: bump to 0.25.11-beta (binary reports alpha prerelease string). ## Assets | OS/Arch | Asset | | --- | --- | | macOS (Apple Silicon) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.11-alpha/lokid-darwin-arm64-v0.25.11-alpha.tar.gz | | macOS (Intel) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.11-alpha/lokid-darwin-amd64-v0.25.11-alpha.tar.gz | | Linux x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.11-alpha/lokid-linux-amd64-v0.25.11-alpha.tar.gz | | Linux arm64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.11-alpha/lokid-linux-arm64-v0.25.11-alpha.tar.gz | | Windows x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.11-alpha/lokid-windows-amd64-v0.25.11-alpha.zip | | Windows 32-bit | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.11-alpha/lokid-windows-386-v0.25.11-alpha.zip | Additional builds (ppc64, mips, *BSD, illumos/solaris) are available on the [GitHub release page](https://github.com/flokiorg/go-flokicoin/releases/tag/v0.25.11-alpha). --- ## 0.25.12-alpha GitHub Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/go-flokicoin/issues This release introduces significant improvements to fee estimation logic, including atomic persistence to disk, better history tracking, and smarter handling of removal reasons. ## Upgrade notes - Fee estimator snapshots now live on disk as `fee_estimates.dat` under the data dir (atomic write/read). Ensure the daemon can write there on shutdown; stale files older than ~60h are ignored on startup. ## Highlights - **Fee estimation** - Tracks up to 1008 blocks of history and caps long-horizon queries instead of rejecting them, aligning with Bitcoin Core behavior (`mempool/estimatefee.go`). - Records mempool removal reasons so unconfirmed drops (conflicts, reorgs, evictions, rejects) clear estimator state and reduce stale observations (`mempool` plumbing, `netsync/manager.go`, `rpcserver.go`). - `estimatesmartfee` accepts `economical` or `conservative` modes (defaults conservative) and reports invalid modes cleanly; result now includes an explicit `errors` field (`rpcserver.go`). - **Persistence** - Fee estimator state is saved atomically to disk on shutdown and restored on startup when fresh; stale data surfaces an error and is skipped. Helpers and tests cover the binary format and max-age enforcement (`mempool/fee_persist*.go`, `server.go`). ## Notable commits (planned batch) - mempool: track removal reasons in fee estimation; widen history to 1008 blocks and cap queries. - mempool: persist fee estimator to disk with atomic writes and staleness checks. - Added aggregated nonce signing flow for MuSig2, including updated context handling and comprehensive tests. ## Assets | OS/Arch | Asset | | --- | --- | | macOS (Apple Silicon) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.12-alpha/lokid-darwin-arm64-v0.25.12-alpha.tar.gz | | macOS (Intel) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.12-alpha/lokid-darwin-amd64-v0.25.12-alpha.tar.gz | | Linux x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.12-alpha/lokid-linux-amd64-v0.25.12-alpha.tar.gz | | Linux arm64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.12-alpha/lokid-linux-arm64-v0.25.12-alpha.tar.gz | | Windows x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.12-alpha/lokid-windows-amd64-v0.25.12-alpha.zip | | Windows 32-bit | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.12-alpha/lokid-windows-386-v0.25.12-alpha.zip | Additional builds (ppc64, mips, *BSD, illumos/solaris) are available on the [GitHub release page](https://github.com/flokiorg/go-flokicoin/releases/tag/v0.25.12-alpha). --- ## 0.25.13-alpha GitHub Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/go-flokicoin/issues This release introduces MuSig2 improvements and critical network parameter corrections for TestNet4. ## Highlights - **MuSig2 (Aggregated Nonce Signing)** - Added support for aggregated nonce signing flow in the MuSig2 implementation. - Included comprehensive test coverage for the new signing flow. - **Network Parameters** - **TestNet4 P2P Port**: Corrected the TestNet4 default P2P port from the Bitcoin value (`48333`) to the Flokicoin value (`65212`). - **Comment Cleanup**: Updated inline comments in `chaincfg/params.go` to reference Flokicoin rather than Bitcoin for the relevant network port entries. - **Dependency Updates** - **Go SDK**: Updated minimum Go version requirement to `1.26.1`. - Routine `go mod tidy` cleanup. ## Assets | OS/Arch | Asset | | --- | --- | | macOS (Apple Silicon) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.13-alpha/lokid-darwin-arm64-v0.25.13-alpha.tar.gz | | macOS (Intel) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.13-alpha/lokid-darwin-amd64-v0.25.13-alpha.tar.gz | | Linux x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.13-alpha/lokid-linux-amd64-v0.25.13-alpha.tar.gz | | Linux arm64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.13-alpha/lokid-linux-arm64-v0.25.13-alpha.tar.gz | | Windows x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.13-alpha/lokid-windows-amd64-v0.25.13-alpha.zip | | Windows 32-bit | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.13-alpha/lokid-windows-386-v0.25.13-alpha.zip | Additional builds (ppc64, mips, *BSD, illumos/solaris) are available on the [GitHub release page](https://github.com/flokiorg/go-flokicoin/releases/tag/v0.25.13-alpha). --- ## 0.25.5-beta Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/go-flokicoin/issues ## Notable changes - Added new blockchain checkpoints, including at block 0 and later heights. - Enhanced PSBT handling: support for extended public keys (XPubs) and path validation. - Added PSBT test coverage for BIP32 path serialization/deserialization. - Improved validation of PSBT path minimum length. - Improved block header timestamp validation. - Updated mempool, txscript, and wallet to use `maps.Copy` for safer and cleaner map handling. - Fixed typo: corrected PSBT constant from `XpubType` to `XPubType`. - Fixed minor issues in PSBT encoding/decoding and comments. - Renamed `flokicoin-cli` to `flokicoind-cli` across all binaries, config paths, and documentation. ## Assets | OS/Arch | Asset | | --- | --- | | macOS (Apple Silicon) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.5-beta/flokicoind-darwin-arm64-v0.25.5-beta.tar.gz | | macOS (Intel) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.5-beta/flokicoind-darwin-amd64-v0.25.5-beta.tar.gz | | Linux x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.5-beta/flokicoind-linux-amd64-v0.25.5-beta.tar.gz | | Linux arm64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.5-beta/flokicoind-linux-arm64-v0.25.5-beta.tar.gz | | Windows x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.5-beta/flokicoind-windows-amd64-v0.25.5-beta.zip | --- ## 0.25.6-beta Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/go-flokicoin/issues ## Notable changes - Update testnet3 and regression chain parameters. - Adjust difficulty logic for testnet4. - Restore default PoW limits for regression network. - Update version bits deployment thresholds and timings. - Remove legacy difficulty calculation fallback. - Clean up block version test formatting. ## Assets | OS/Arch | Asset | | --- | --- | | macOS (Apple Silicon) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.6-beta/flokicoind-darwin-arm64-v0.25.6-beta.tar.gz | | macOS (Intel) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.6-beta/flokicoind-darwin-amd64-v0.25.6-beta.tar.gz | | Linux x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.6-beta/flokicoind-linux-amd64-v0.25.6-beta.tar.gz | | Linux arm64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.6-beta/flokicoind-linux-arm64-v0.25.6-beta.tar.gz | | Windows x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.6-beta/flokicoind-windows-amd64-v0.25.6-beta.zip | --- ## 0.25.7-beta Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/go-flokicoin/issues This is a minor beta release of Flokicoin Core with a new per-block difficulty retarget algorithm (Digishield-style), AuxPoW header and consensus support, testnet feature updates, RPC corrections, and build/test improvements. This release schedules `MAINNET ACTIVATION` for both Digishield and AuxPoW via chain parameters. All mainnet nodes must upgrade before the activation heights below to avoid chain splits. ## Notable changes - Consensus: Digishield difficulty retarget - Introduces a per-block exponential moving average retarget toward the target spacing with amplitude divisor 8. - Applies bounded damping each step (min 0.75x, max 1.5x of target spacing influence) to reduce volatility. - Supports min-difficulty on late blocks where enabled by chain parameters. - Integrates into validation and mining (next-required-bits, block template target) and expands unit/full-block tests. - P2P/Wire: AuxPoW header support - Adds AuxPoW structures (coinbase, merkle branches, parent header) and serialization helpers. - Extends `BlockHeader` with AuxPoW flag and ChainID utilities plus optional AuxPoW payload encode/decode. - Updates `MsgBlock` decoding to parse AuxPoW payloads when present; adds coverage for read/write paths. - Consensus: AuxPoW is activated on mainnet at the height listed below. - Testnet/regtest updates - Enables SegWit and Taproot features on testnet where configured. - Tunes `MinHighPriority` and increases the `MaxLoki` bound used in RPC amount validation. - RPC fixes and improvements - Aligns reported P2P protocol version with `wire.ProtocolVersion` and fills `getinfo` fields (subversion, localservices, connections_in/out, localaddresses) from live server state. - Tooling and tests - Adds `make testexport` target and a deterministic test-data exporter. - Unifies block dataset loader with mandatory network-magic validation; refactors call sites. - Adds an end-to-end difficulty validation over curated datasets and emits steady-state tuning metrics. - Build and configuration - Drops local `replace` override for `flokicoin-neutrino` to avoid developer-only paths. - Prints a single startup banner with semantic version during config load; refactors ASCII-art constants. ## Compatibility - Mainnet will activate Digishield and AuxPoW at fixed heights (below). These are consensus changes and constitute a hard fork at activation. All miners, validators, and services must upgrade before those heights. - AuxPoW wire support remains backward compatible for non-AuxPoW headers until activation height. - No database format changes are introduced. ## Activation schedule (mainnet) - Digishield difficulty retarget: activates at height 115,000 (`DigishieldActivationHeight` in `chaincfg/params.go`). - AuxPoW consensus: activates at height 115,840 (`AuxpowHeightEffective` in `chaincfg/params.go`). These activations are parameterized in `repos/flokiorg/go-flokicoin/chaincfg/params.go` under `MainNetParams`. ## Upgrade notices - Mainnet node operators: upgrade to 0.25.7-beta before heights 115,000 (Digishield) and 115,840 (AuxPoW) to remain on the canonical chain. - Testnet/regtest operators should upgrade to participate in the updated difficulty and feature policies. - Application developers should re-vendor/update to pick up RPC schema fixes and wire additions related to AuxPoW. ## RPC changes - `getinfo` now reports accurate `subversion`, `localservices`, `localservicesnames`, `connections_in`, `connections_out`, and `localaddresses`. - Reported max protocol version aligns with `wire.ProtocolVersion` (70016). ## Build system and tooling - New `make testexport` target to export block datasets for deterministic tests. - Removed local `replace` for `flokicoin-neutrino` to produce clean module graphs in builds. ## Tests and QA - Unified block loader enforces network magic and uses buffered, full-length reads. - Added E2E difficulty validation with metrics output for steady-state analysis. - Curated, smaller test datasets improve determinism and CI time. ## Changelog since [v0.25.6-beta](/lokichain/releases/0.25.6-beta) - b4f439e consensus: add Digishield difficulty retarget - dec0948 wire: integrate AuxPoW header support - 31eff16 chore: repo updates for rpc/db, tests, fixtures - e2ac6e7 tests: validate difficulty dataset and expose tuning metrics - 735410f tests: unify block loader to enforce network magic; refactor call sites - 0e5dcd3 make: add testexport target for exporting block datasets - 651a453 rpc: report correct p2p protocol and fill getinfo fields - bea6a7a build: drop local replace for flokicoin-neutrino - 2e92497 config: print startup banner with version; refactor art constants - b24e870 wire: remove stale TODO comment in protocol.go - 60460f8 enable segiwit/taproot for testnet - f9bf3ae increase maxloki const - 712355d update MinHighPriority const - fa96bbd bump version 0.25.7-dev - 4523b79 version: bump to 0.25.7-beta ## Credits Thanks to everyone who directly contributed to this release: - naliyi - izimmerma - mechion - repins - nanovex - liarpo11 - arowqo - thiniboy ## Assets | OS/Arch | Asset | | --- | --- | | macOS (Apple Silicon) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.7-beta/flokicoind-darwin-arm64-v0.25.7-beta.tar.gz | | macOS (Intel) | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.7-beta/flokicoind-darwin-amd64-v0.25.7-beta.tar.gz | | Linux x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.7-beta/flokicoind-linux-amd64-v0.25.7-beta.tar.gz | | Linux arm64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.7-beta/flokicoind-linux-arm64-v0.25.7-beta.tar.gz | | Windows x86_64 | https://github.com/flokiorg/go-flokicoin/releases/download/v0.25.7-beta/flokicoind-windows-amd64-v0.25.7-beta.zip | --- ## Release Notes Flokicoin Core is the reference full node for the Lokichain. It validates blocks and transactions, enforces consensus, and exposes RPCs for wallets and services. Please report bugs on GitHub: https://github.com/flokiorg/go-flokicoin/issues ## Releases - [0.25.13-alpha](/lokichain/releases/0.25.13-alpha) - [0.25.12-alpha](/lokichain/releases/0.25.12-alpha) - [0.25.10-beta](/lokichain/releases/0.25.10-beta) - [0.25.7-beta](/lokichain/releases/0.25.7-beta) - [0.25.6-beta](/lokichain/releases/0.25.6-beta) - [0.25.5-beta](/lokichain/releases/0.25.5-beta) - [0.25.1-beta](/lokichain/releases/0.25.1-beta) --- ## Downloads Download the latest Lokihub release for your operating system. :::release Latest Release: **0.3.0-alpha** — [View on GitHub](https://github.com/flokiorg/lokihub/releases/tag/0.3.0-alpha) ::: ## Download Assets ### Desktop | Platform | Download Link | | --- | --- | | Linux (RPM aarch64) | [lokihub-desktop-linux-aarch64-0.3.0-alpha.rpm](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-desktop-linux-aarch64-0.3.0-alpha.rpm) | | Linux (AppImage amd64) | [lokihub-desktop-linux-amd64-0.3.0-alpha.AppImage](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-desktop-linux-amd64-0.3.0-alpha.AppImage) | | Linux (Deb amd64) | [lokihub-desktop-linux-amd64-0.3.0-alpha.deb](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-desktop-linux-amd64-0.3.0-alpha.deb) | | Linux (AppImage arm64) | [lokihub-desktop-linux-arm64-0.3.0-alpha.AppImage](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-desktop-linux-arm64-0.3.0-alpha.AppImage) | | Linux (Deb arm64) | [lokihub-desktop-linux-arm64-0.3.0-alpha.deb](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-desktop-linux-arm64-0.3.0-alpha.deb) | | Linux (RPM x86_64) | [lokihub-desktop-linux-x86_64-0.3.0-alpha.rpm](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-desktop-linux-x86_64-0.3.0-alpha.rpm) | | macOS (Universal) | [lokihub-desktop-macos-0.3.0-alpha.dmg](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-desktop-macos-0.3.0-alpha.dmg) | | Windows (x86_64) | [lokihub-desktop-windows-0.3.0-alpha.zip](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-desktop-windows-0.3.0-alpha.zip) | ### Server | Platform | Download Link | | --- | --- | | Linux (amd64) | [lokihub-server-linux-amd64-0.3.0-alpha.tar.gz](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-server-linux-amd64-0.3.0-alpha.tar.gz) | | Linux (arm64) | [lokihub-server-linux-arm64-0.3.0-alpha.tar.gz](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-server-linux-arm64-0.3.0-alpha.tar.gz) | | macOS (Universal) | [lokihub-server-macos-0.3.0-alpha.zip](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-server-macos-0.3.0-alpha.zip) | | Windows (x86_64) | [lokihub-server-windows-0.3.0-alpha.zip](https://github.com/flokiorg/lokihub/releases/download/0.3.0-alpha/lokihub-server-windows-0.3.0-alpha.zip) | ## Installation & Usage :::tip If your OS flags the binary as unverified, you may need to explicitly allow it in your security settings. ::: ### Desktop (GUI) **macOS** 1. Open the downloaded `.dmg` file. 2. Drag **Lokihub** to your Applications folder. **Windows** 1. Extract the downloaded `.zip` file. 2. Run `lokihub.exe`. **Linux** - **AppImage**: ```bash chmod +x lokihub-*.AppImage ./lokihub-*.AppImage ``` - **Debian/Ubuntu**: ```bash sudo dpkg -i lokihub-*.deb ``` - **Fedora/RHEL**: ```bash sudo rpm -i lokihub-*.rpm ``` ### Server (HTTP) The server version runs as a background process and serves the web interface via HTTP. 1. **Extract the archive**: ```bash tar -xvf lokihub-server-*.tar.gz # Linux # Or unzip on Windows/macOS ``` 2. **Run the binary**: ```bash ./lokihub ``` 3. **Open in Browser**: Navigate to `http://localhost:1610` (default port). ## Next Steps After installation, follow the [Setup Guide](/lokihub/setup) to connect Lokihub to your FLND node. ## Verify Downloads All releases are published on GitHub with checksums. Visit the [releases page](https://github.com/flokiorg/lokihub/releases) to verify download integrity. --- ## Features Lokihub provides everything you need to run a self-custodial Lightning node. ## Lightning Wallet Send and receive funds through Lightning channels and on-chain transactions. **Capabilities:** - **Send & Receive** — Create Lightning invoices and pay others - **On-Chain** — Regular Flokicoin transactions - **Sub-Wallets** — Separate wallets for different uses - **History** — View all on-chain and Lightning transactions :::tip Lokihub's default currency unit is **Loki**. `1 FLC = 100,000,000 Loki`. ::: ## Channel Management Lightning channels let you send and receive instant payments. Lokihub helps you manage them. **Features:** - **Open Channels** — Connect to other nodes to enable routing - **Close Channels** — Shut down channels and return funds on-chain - **Manual Control** — Open/close channels to specific peers - **Liquidity Visualization** — See how much you can send (outbound) vs receive (inbound) ## Peer Management View and manage your connections to the Lightning Network. - See connected peers - Add new peers manually - Disconnect from peers you no longer need - Update node alias ## App Connections (NWC) Connect external apps to your Lightning node using [**Nostr WalletConnect**](https://nwc.dev) (NWC). NWC is an open standard that lets apps request payments from your wallet without holding your keys. You grant permissions and can revoke access anytime. **How it works:** 1. Open an app that supports NWC 2. In Lokihub, generate a connection string 3. Scan the QR code or paste the connection string in the app 4. Grant permissions (read-only, send up to X amount, etc.) 5. Use the app—it can now request payments from your node **Examples of what you can connect:** - Social apps that need zapping/tipping - Services that need payment authorization - Any NWC-compatible application Learn more about the NWC standard at [nwc.dev](https://nwc.dev). ## Service Freedom Lokihub is community-driven by design. Users can submit PRs to add their own services. You choose. **Configurable Services:** - **LSP** — Lightning Service Provider for inbound liquidity - **Nostr Relay** — Message routing for NWC connections - **Block Explorer** — Transaction lookup and monitoring Switch providers anytime in the Services settings. [Learn more →](/lokihub/services) --- ## Lokihub import Link from '@docusaurus/Link'; # Your Gateway to the Flokicoin Lightning Network **Lokihub** gives you complete financial sovereignty over your Lightning node. Beyond just a manager, it's your gateway to the decentralized web—integrated with [Lokinode](/wallets/lokinode) to help you manage sub-wallets, handle channels, and connect apps via NWC. Latest: 0.3.0-alpha Download Setup Guide ## Getting Started ### 1. Download & Install Get Lokihub for your platform and install the binary. [Downloads →](/lokihub/downloads) ### 2. Connect Your Node Connect Lokihub to your Lightning node. Works out of the box with [Lokinode](/wallets/lokinode). [Setup Guide →](/lokihub/setup) ### 3. Start Using Manage wallets, open channels, connect apps. [Features →](/lokihub/features) import { Zap, Droplet } from 'lucide-react'; ## What Lokihub Does For You Instant Payments, Zero Middlemen Leverage the Lightning Network for fast, secure, and low-fee transactions. Create dedicated sub-wallets to organize your liquidity for different apps or personal budgets. Full Sovereignty Over Your Liquidity Take direct control of your Lightning channels. Open, close, and manage your inbound and outbound capacity with full manual transparency. Connect Apps Connect external applications to your node using NWC. Grant specific permissions and revoke access when needed. Browse App Store → Choose Services Self-custody means you choose your own providers. Configure your LSP, Nostr relay, block explorer, and messageboards. View Services → ## Documentation - **[Downloads](/lokihub/downloads)** — Get the latest release - **[Setup](/lokihub/setup)** — Connect to your node - **[Features](/lokihub/features)** — Wallet, channels, NWC - **[App Store](/lokihub/store)** — Connect external apps - **[Services](/lokihub/services)** — LSP, relay, explorer - **[Resources](/lokihub/resources)** — Explorers, faucets, tools Need help? Join [Discord](https://flokicoin.org/discord) #lokihub :::caution[Important: Back Up Your Channels] **Lightning channel funds are NOT stored on the blockchain.** A 24-word seed phrase only recovers your on-chain balance. Once you start opening channels, you must keep a copy of your **Static Channel Backup (SCB)** file. [Learn how to protect your node →](/wallets/lokinode#critical-lightning-backups) ::: --- ## Resources import resourcesImage from './resources.webp'; import Link from '@docusaurus/Link'; // eslint-disable-line no-unused-vars import Heading from '@theme/Heading'; // eslint-disable-line no-unused-vars import { Telescope, Gamepad2, Pickaxe, Sparkles, Zap } from 'lucide-react';
Community Ecosystem • Maintained & Supported Lokichain Resources Browse community explorers, faucets, mining pools, and helper tooling. Every link here is maintained by trusted operators to keep your nodes, tests, and monitoring on track. Suggest via Discord Open a pull request
Network Explorers Track blocks, transactions, and address balances on mainnet and testnet. flokichain • Mainnet lokichain • Mainnet testnet.flokichain.info • Testnet
Faucet & Mini-Game Collect testnet coins by playing a short community mini-game. lokirace.com
Mining Pool Community pools for Lokichain mining. fpool.net • Mining has never been so easy 🐟 viaflc.com • More Coins Same Power hash2.cash • Where every share counts.
Lokiapps Community-built apps and bundles for Lokichain ecosystem. myfloki.com • Full node + Electrum bundle lokimap.com • Live node map
Electrum Servers Community hosted endpoints for your wallets.
myfloki.com electrum@myfloki.com SSL electrum.myfloki.com:50002 TCP electrum.myfloki.com:50001 WSS electrum.myfloki.com:50004
hashboard.space listing@hashboard.space SSL electrum-flc.hashboard.space:50002 TCP electrum-flc.hashboard.space:50001 WSS electrum-flc.hashboard.space:50004
Keep the list fresh Run a new explorer, tooling bundle, or pool? Open a pull request or drop a link in #builders on Discord and we’ll review it.
--- ## Services # Lokihub Services Lokihub uses external services for Lightning operations, [NWC](https://nwc.dev) communication, and blockchain lookups. You can choose from community defaults or configure your own. ## Service Types ### LSP (Lightning Service Provider) **Optional** — Provides inbound liquidity for receiving payments. When you open a Lightning channel, you can only send the funds you put in. To receive payments, you need inbound liquidity—either from natural channel balancing or from an LSP opening a channel to you. **What LSPs offer:** - Open channels to your node - Provide inbound liquidity - Just-in-time (JIT) channel creation **In Lokihub:** Select from community LSPs or add your own. Lokihub LSPs use the **LSPS specifications** ([LSPS0 to LSPS5](https://github.com/lightning/blips)) for standardized liquidity. ### Nostr Relay Routes [NWC](https://nwc.dev) connection messages between your node and connected apps. When you connect an app via NWC, your node and the app communicate through a Nostr relay. The relay doesn't see payment data—just encrypted connection messages. **In Lokihub:** Choose a public relay or run your own. You can select as many relays as you want to ensure strong communication fallbacks and reliability. ### Block Explorer Looks up on-chain transaction details, blockchain information, and Lightning node statistics. **In Lokihub:** Point to any Flokicoin-compatible block explorer. ### Widget Messageboard Interactive chat widgets where community members can post messages with zaps. Collected funds can be used for community airdrops or other purposes. Configure multiple widgets for different channels. **In Lokihub:** Choose from community messageboards or configure your own. ### Swap Service **Optional** — Swap funds between your on-chain wallet and Lightning channels. Useful when you need to move funds from your on-chain balance to Lightning (loop in) or from Lightning to on-chain (loop out). **In Lokihub:** Use the built-in swap interface powered by your chosen swap provider. ## For Service Providers: Submit Your Service The Services directory is open-source and community-maintained. ### Repository Structure Service configurations live at: [flokiorg/lokihub-services](https://github.com/flokiorg/lokihub-services) ``` lokihub-services/ ├── services.json # LSPs, relays, explorers ├── rates.json # Exchange rates ├── currencies.json # Supported currencies └── info.json # General info and MOTD ``` ### Adding a Service **1. Fork the Repository** Fork [flokiorg/lokihub-services](https://github.com/flokiorg/lokihub-services) on GitHub. **2. Edit `services.json`** Add your service to the appropriate section. #### Adding an LSP Add to the `lsp` array: ```json { "name": "My LSP", "uri": "pubkey@host:port", "description": "Supports JIT Channels & Inbound Liquidity" } ``` **Fields:** - `name` — Display name of your LSP - `uri` — Connection string (`pubkey@host:port`) - `description` — Brief description of services offered #### Adding a Nostr Relay Add to the `relay` array: ```json { "name": "My Relay", "url": "wss://relay.example.com", "description": "Fast Nostr relay for NWC" } ``` **Fields:** - `name` — Display name - `url` — WebSocket URL - `description` — Brief description #### Adding a Block Explorer Add to the `explorer` array: ```json { "name": "My Explorer", "url": "https://explorer.example.com", "description": "Flokicoin blockchain explorer" } ``` **Fields:** - `name` — Display name - `url` — HTTPS URL - `description` — Brief description #### Adding a Widget Messageboard Add to the `widget` array: ```json { "name": "Community Board", "url": "nostr+walletconnect://b889...4f1?relay=wss://relay.example.com/v1&secret=79...a1", "description": "Funds collected in this messageboard are destined for airdrop sessions and game payouts" } ``` **Fields:** - `name` — Display name - `url` — NWC connection string (`nostr+walletconnect://...`) - `description` — Brief description **3. Create Pull Request** Submit your changes for review. ### Review Process Pull requests are reviewed for: - Valid JSON structure - Working service endpoints - Accurate service information - Reliability and uptime (for community defaults) ## File Descriptions ### `services.json` Directory of recommended community services: - **LSPs** — Lightning Service Providers - **Relays** — Nostr relays for NWC - **Explorers** — Block explorers - **Widgets** — Chat messageboards with zaps - **Swap Services** — On-chain/off-chain fund swaps ### `rates.json` Current exchange rates for FLC (Flokicoin) against fiat currencies. ### `currencies.json` List of supported fiat currencies and their symbols. ### `info.json` General information and message of the day (MOTD) for Lokihub users. ## Questions? - Repository: [flokiorg/lokihub-services](https://github.com/flokiorg/lokihub-services) - Issues: [GitHub Issues](https://github.com/flokiorg/lokihub-services/issues) - Community: [Discord](https://flokicoin.org/discord) #lokihub --- ## Setup Guide import Heading from '@theme/Heading'; import { Terminal } from 'lucide-react'; import setupFlndImage from './setup-flnd.png'; # Setup Guide Connect Lokihub to your node and start managing your Lightning liquidity in minutes. ## Before You Start To use Lokihub, you'll need: - **Lokihub App**: [Download it here](/lokihub/downloads). - **A running FLND node** — choose one of the following: - **Lokinode** *(Recommended)*: The desktop GUI client for running your Lightning node. [Download Lokinode →](/wallets/lokinode) - **tWallet v1** *(TUI users)*: The terminal wallet also works as a node backend. [See the tWallet guide →](/wallets/twallet) :::tip If you're running **Lokinode** on the same computer, Lokihub will find it automatically. Use the [Automated Connection](#automated-connection) option! ::: ## First Launch 1. Open Lokihub. 2. Follow the setup wizard to get started. ## Alternative: Plug-and-Play Server Setup :::info[Automated Server Deployment] Want to run a 24/7 node on a VPS or dedicated server? This **server-ready bundle** uses Docker to automate the installation of both `flnd` and Lokihub, with a simple script for wallet initialization — no manual configuration needed. [**View Setup Guide on GitHub →**](https://github.com/myfloki/lokinode-operator) ::: ## Step-by-Step Setup ### 1. Create a Password Set a strong password to protect your data. This password encrypts your connection details and app settings. > **Important**: We cannot recover this password for you. Please write it down and keep it safe. ### 2. Choose Your Services Lokihub uses specific services to interact with the network: - **Nostr Relay**: Connects your node to external apps. - **Block Explorer**: Shows you transaction details. - **Optional**: You can also add Liquidity (LSP) or Swap services later. ### 3. Connect to Your FLND Node Lokihub connects to the Lightning node running on your machine (Lokinode or tWallet v1). Option A: Automated Connection (Recommended) If **Lokinode** (or tWallet v1) is running on the **same machine**: 1. Choose **"Local Node"** during the setup wizard. 2. Lokihub will automatically detect your running node and link up. 3. You're ready to go! #### Option B: Custom Node Connection (Advanced) If your node is running on a remote machine (VPS, Raspberry Pi, etc.) or you want to connect manually: 1. Select **"Advanced Mode"** 2. Enter the connection details: - **gRPC Address**: IP and port (example: `127.0.0.1:10005`) - **Macaroon**: Paste the `admin.macaroon` hex content - **TLS Certificate**: Paste the `tls.cert` hex content (Optional) 3. Click **"Connect"** :::tip[How to find these credentials] - **tWallet**: Press CTRL + N to open the Lightning configuration window. It shows your **gRPC Address**, **Macaroon Hex**, and **TLS Certificate Hex** — copy and paste them into Lokihub. - **Lokinode**: Open the node settings panel inside the app to find the same connection details. ::: ## Troubleshooting **Can't connect to a local node?** - Make sure Lokinode (or tWallet) is running and fully synced - Check that the relevant ports aren't blocked by your firewall **Remote connection fails?** - Verify the gRPC address is correct - Ensure your node is reachable from the network - Double-check that your macaroon and TLS cert hex strings are correct **Need help?** Join the community on [Discord](https://flokicoin.org/discord) in #lokihub ## Next Steps ### 1. Secure Your Node (Required) Before you open your first channel, you need a solid recovery plan. Unlike on-chain funds, Lightning liquidity requires active protection. :::important[CHANNEL BACKUPS ARE NOT AUTOMATIC] Your 24-word seed phrase **only** recovers funds on the blockchain. To protect your channel liquidity from system failures, you **must** keep a copy of your `channel.backup` file. ::: 1. **Locate**: On Linux, the file is typically at `~/.flnd/data/chain/flokicoin/mainnet/channel.backup`. 2. **Backup**: Copy it to a separate device (USB, cloud storage, etc.) every time you open or close a channel. 3. **Learn More**: Read the full [Lightning Backup Guide](/wallets/lokinode#critical-lightning-backups). ### 2. Further Reading Once connected, you can: - [Manage your wallet and channels](/lokihub/features) - [Connect external apps via NWC](/lokihub/store) - [Configure service providers](/lokihub/services) --- ## App Store import Heading from '@theme/Heading'; # Lokihub App Store The Lokihub App Store is a community-maintained directory of applications that work with your Lightning node through [NWC (Nostr WalletConnect)](https://nwc.dev). ## How Apps Connect Apps listed in the store connect to your Lokihub node using NWC. This means: 1. **No Installation** — Apps don't install on Lokihub itself 2. **Permission-Based** — You grant specific permissions (read balance, send up to X amount, etc.) 3. **Revocable** — Remove app access anytime ## Using Apps from the Store 1. Browse available apps in Lokihub 2. Click an app to view details 3. Click "Connect" 4. Review and grant permissions 5. Scan the QR code or copy the connection string into the app ## App Categories The store organizes apps into categories: - **Wallet Interfaces** — Alternative wallet UIs - **Social Media** — Nostr clients, tipping platforms - **Merchant Tools** — Point-of-sale, invoicing - **Payment Tools** — Budgeting, accounting - **Shopping** — E-commerce integrations - **Nostr Tools** — Nostr-specific utilities - **Games** — Lightning-enabled games - **AI** — AI services with Lightning payments - **Music** — Streaming, tipping artists - **Blogging** — Content platforms - **Misc** — Other applications For Developers: Submit Your App The App Store is open-source and community-driven. Anyone can submit an app. ### Repository Structure The store data lives at: [flokiorg/lokihub-store](https://github.com/flokiorg/lokihub-store) ``` lokihub-store/ ├── apps.json # All app metadata └── logos/ # App logos (PNG/SVG) ``` ### Submission Steps **1. Fork the Repository** Fork [flokiorg/lokihub-store](https://github.com/flokiorg/lokihub-store) on GitHub. **2. Add Your App Logo** - Place a high-quality logo in the `logos/` directory - Format: PNG or SVG - Recommended size: 512x512 pixels - Filename: `your-app-id.png` (e.g., `my-lightning-app.png`) **3. Edit `apps.json`** Add your app entry to the array: ```json { "id": "my-app", "title": "My App", "description": "Short description (max 100 chars)", "extendedDescription": "Longer description explaining the integration", "webLink": "https://myapp.com", "playLink": "https://play.google.com/store/apps/details?id=com.myapp", "appleLink": "https://apps.apple.com/us/app/my-app/id123456", "categories": ["social-media"], "logo": "my-app.png", "installGuide": "How to install/setup the app", "finalizeGuide": "How to connect to Lokihub (where to paste NWC string)", "version": "1.0.0", "createdAt": 1709251200, "updatedAt": 1709251200 } ``` **Required Fields:** - `id` — Unique identifier (lowercase, dashes only) - `title` — Display name - `description` — Short tagline - `version` — Semantic version (e.g., `1.0.0`) - `createdAt` — Unix timestamp (seconds) - `updatedAt` — Unix timestamp (seconds) **Optional Fields:** - `extendedDescription` — Detailed explanation - `webLink` — App website - `playLink` — Google Play Store URL - `appleLink` — Apple App Store URL - `logo` — Filename from `logos/` directory - `installGuide` — Setup instructions before connecting - `finalizeGuide` — Connection instructions (where to paste NWC secret) - `categories` — Array of categories (see list above) **4. Create Pull Request** Submit your changes for review. The maintainers will review and merge if everything looks good. ### Review Process Pull requests are reviewed for: - Valid JSON structure - Logo quality and file size - Accurate app information - Working NWC implementation Once merged, your app appears in all Lokihub instances automatically. ## Questions? - Repository: [flokiorg/lokihub-store](https://github.com/flokiorg/lokihub-store) - Issues: [GitHub Issues](https://github.com/flokiorg/lokihub-store/issues) - Community: [Discord](https://flokicoin.org/discord) #lokihub --- ## Gminer :::warning[CPU miner notice] Gminer is a CPU miner. CPU mining is only practical on test networks; on mainnet it is not competitive. Use GPU or scrypt ASIC for mainnet. ::: This guide walks you through downloading, configuring, and running Gminer. By the end, you'll have a working CPU miner connected to a Flokicoin testnet pool. - [Download and Installation](#download-and-installation): Guide to download and install `gminer` - [Configuration](#configuration): Instructions for configuring `gminer.conf`. - [How to Run](#how-to-run): Guide to start mining Flokicoin. - [Monitoring](#monitoring): Monitor mining performance and status information - [Troubleshooting and recommendations](#troubleshooting-and-recommendations): Common issues and their solutions - [Support](#support) --- import Heading from '@theme/Heading'; Download and Installation Download the latest miner release: - Go to the [releases](https://github.com/flokiorg/grpc-miner/releases/tag/v0.1.3-beta) page. - Download the version suitable for your operating system and architecture. gminer is available on: - Mac - Linux - Windows ### Install `gminer` on Mac #### **Mac with apple silicon** Download [gminer-darwin-arm64-v0.1.3-beta.tar.gz](https://github.com/flokiorg/grpc-miner/releases/download/v0.1.3-beta/gminer-darwin-arm64-v0.1.3-beta.tar.gz) then extract the archive: ```bash tar -xvf gminer-darwin-arm64-v0.1.3-beta.tar.gz chmod +x gminer ``` #### **Mac with Intel chip** Download [gminer-darwin-amd64-v0.1.3-beta.tar.gz](https://github.com/flokiorg/grpc-miner/releases/download/v0.1.3-beta/gminer-darwin-amd64-v0.1.3-beta.tar.gz) then extract the archive: ```bash tar -xvf gminer-darwin-amd64-v0.1.3-beta.tar.gz chmod +x gminer ```   ### Install on Linux Download [gminer-linux-amd64-v0.1.3-beta.tar.gz ](https://github.com/flokiorg/grpc-miner/releases/download/v0.1.3-beta/gminer-linux-amd64-v0.1.3-beta.tar.gz) then extract the archive: ```bash tar -xvf gminer-linux-amd64-v0.1.3-beta.tar.gz chmod +x gminer ```   ### Install on Windows Download [gminer-windows-386-v0.1.3-beta.zip](https://github.com/flokiorg/grpc-miner/releases/download/v0.1.3-beta/gminer-windows-386-v0.1.3-beta.zip) then extract the archive.   Configuration Before running the miner, ensure a configuration file (`gminer.conf`) exists in the same directory as the `gminer` executable file. You can download a [sample config file](https://raw.githubusercontent.com/flokiorg/grpc-miner/refs/heads/main/sample-gminer.conf) from grpc-miner repository. You need to update the following parameters: **Mining pool endpoint** ```ini pool = solo.example.com:5055 ``` Find below the list of community-known pools: | Author | Dev fee | Pool | Port | | --- | --- | --- | --- | | myf | - | gpool.myfloki.com | 5055 | You’re encouraged to create your own pool, set a developer fee if desired, and share it with the Flokicoin community in **#Mining** channel on [Discord](https://flokicoin.org/discord). **Mining addresses** You can specify one or more mining addresses: ```ini miningaddr = YOUR_FLOKICOIN_ADDRESS_1 miningaddr = YOUR_FLOKICOIN_ADDRESS_2 ``` **Threads** Set the number of CPU threads to dedicate for mining. By default, if unspecified, gminer uses all available threads. ```ini threads = 16 ```   import { Lightbulb } from 'lucide-react'; How to run **On Mac and Linux:** Navigate to the directory containing the extracted binary and run: ```bash ./gminer ``` On macOS, authorize gminer by navigating to System Settings → Privacy & Security → General and click “Open Anyway” to trust the developer. **On Windows:** Navigate to the directory containing the extracted `gminer.exe` and double-click it or run it from the command line: ```bash gminer.exe ``` If Windows Defender or another antivirus blocks gminer.exe, you might need to explicitly allow or unblock it.   Monitoring You can monitor the mining performance and status directly in the terminal. The information includes: - Hashrate - Blocks found - Possible errors   Troubleshooting and recommendations - Verify that your `gminer.conf` file is in the correct directory and that pool addresses, mining addresses, and ports match your intended configuration. - On macOS, authorize `gminer` in System Settings and mark the developer as trusted. - Verify the server address and port in `gminer.conf`. - Ensure your internet connection is active. - Regularly update the `gminer` from the releases page.   Support For further assistance, join the `#mining` channel in the [Flokicoin Discord Community](https://flokicoin.org/discord). --- ## Mining import { Rocket, Users, User, Handshake, FlaskConical } from 'lucide-react'; ## Start Earning Flokicoin Mining is how you help secure the network and earn coins doing it. Flokicoin uses the **Scrypt** algorithm, which means you can mine it alongside Litecoin and Dogecoin. ### Why Mine Flokicoin? - **Scrypt algorithm** — Join a globally recognized mining ecosystem used by LTC and DOGE. - **Support the network** — Every miner helps keep Flokicoin decentralized and resilient. - **AuxPoW (Merge Mining)** — Earn Flokicoin "for free" while mining other Scrypt coins. :::warning[Safety First] Mining uses a lot of hardware resources. Keep your mining rig separate from personal data, make sure it stays cool, and only download software from trusted sources. ::: ## 3-Step Quick Start 1. **Pick your hardware** — Scrypt ASIC for serious mining, GPU if you're a hobbyist. 2. **Join a pool** — Steady payouts instead of waiting weeks for a solo block. [Explore pools](/mining/pools). 3. **Point and earn** — Set your pool's stratum address and your FLC wallet as the username. ## Hardware Guide | Setup | Difficulty | Best For | | :--- | :--- | :--- | | **ASIC** | Easy | **Maximum Rewards** | | **GPU** | Moderate | **Hobbyist Mining** | | **CPU** | Easy | **Testnet/Learning only** | ## Network Basics - **Algorithm**: Scrypt - **Block Time**: 1 Minute - **Merge Mining**: Supported (earn coins for free while mining LTC/DOGE) ## Ways to Mine ### Join a Pool (Recommended) Work together with others to find blocks. You get a share of the rewards based on your contribution. [Check out the pools](/mining/pools). ### Solo Mining (Advanced) Mine on your own. You keep the full reward for every block you find, but payouts can be rare. ### Merge Mining (AuxPoW) If your pool supports it, you can mine Flokicoin *at the same time* as Litecoin or Dogecoin without using any extra electricity. ## Mining Apps - **NVIDIA GPU**: [ccminer](https://github.com/tpruvot/ccminer) - **AMD/NVIDIA GPU**: [nevermore](https://github.com/brian112358/nevermore-miner) - **ASIC Support**: [CGMiner](https://github.com/ckolivas/cgminer) or [BFGMiner](https://github.com/luke-jr/bfgminer) ### Try it on Testnet If you're just learning, try mining with your CPU on our testnet: - [Gminer](/mining/gminer) — A simple CPU mining tool for practice. ## Support Join the [#mining](https://flokicoin.org/discord) channel on Discord for help. --- ## Pools :::danger[Disclaimer] Pools and miners listed here are third‑party. Verify binaries and configs yourself and prefer sandboxed testing before production use. ::: import { Fish } from 'lucide-react'; ## Pools - [fpool.net](https://fpool.net) Mining has never been so easy (solo, PPLNS) - [viaflc.com](https://viaflc.com) More Coins Same Power (PPLNS, merge-mining) - [hash2.cash](https://hash2.cash) Transparent Mining Powered by Sharenotes ### Notes - Mainnet: use GPU or scrypt ASIC. CPU mining is not competitive; reserve cpuminer for testnet or experimentation. - AuxPoW: If the pool supports merge mining with a scrypt‑family parent and forwards AuxPoW to Flokicoin, follow the pool’s specific instructions. Details vary by pool. ## Stratum Basics - URL: `stratum+tcp://POOL_HOST:PORT` - Username: your Flokicoin payout address (or pool account) - Password: often `x` or pool‑specific token ## Support Join the [#mining](https://flokicoin.org/discord) channel on Discord for help. --- ## flnd import Link from '@docusaurus/Link'; import { Terminal, Cpu, Zap, Shield, ArrowRight, Download, Play, Unlock, Info } from 'lucide-react'; **flnd** is the engine that powers the Flokicoin Lightning Network. It is a full-featured daemon that acts as both a Flokicoin wallet and a Lightning Network node. If you are a developer, a node operator, or a power user who prefers automation and a powerful command-line interface, **flnd** is your choice. High Performance Written in Go, designed for stability and 24/7 operation. Lightning Ready Supports instant payments and smart-contract channels natively. Fully Scriptable Every feature is accessible via the `flncli` tool or a robust gRPC/REST API. ## Quick Installation **flnd** is distributed as a pair of binaries: `flnd` (the daemon) and `flncli` (the controller). 1. **Download**: Go to the [flnd Releases](https://github.com/flokiorg/flnd/releases) page and grab the version for your system. 2. **Extract**: Unpack the archives and move the binaries to your path (e.g., `/usr/local/bin` or `C:\Windows`). 3. **Verify**: ```bash flnd --version flncli --version ``` ## The Onboarding Lifecycle Operating **flnd** follows a standard lifecycle: **Start Daemon → Create/Unlock Wallet → Sync → Operate**. ### 2. Starting the Daemon Before you can interact with your wallet, the **flnd** daemon must be running. By default, it will use DNS seeds to find peers and connect to the network using Neutrino. Simply run: ```bash flnd ``` **What to look for in the logs:** ```text [INF] LTND: Waiting for wallet encryption password. Use flncli create to create a wallet or flncli unlock to unlock an existing wallet. ``` ### 2. Creating Your Wallet Open a second terminal window and run the initialization command: ```bash flncli create ``` You will be guided through several critical security steps: 1. **Wallet Password**: Enter a password (min 8 characters). This password encrypts your local `wallet.db` file. You will need it every time you start the daemon. 2. **Cipher Seed**: You will be asked if you have an existing seed to import. For a new wallet, choose **No** (`n`). 3. **Seed Passphrase (Optional)**: You can add an extra "25th word" for additional security. If you don't want one, simply press **Enter**. 4. **The 24-Word Seed**: The terminal will display your unique 24-word recovery phrase. :::danger[Security Protocol] * **Write it down**: Use physical paper. * **Offline only**: Never take a screenshot, photo, or store it in a digital file. * **Ultimate Backup**: This seed (and your optional passphrase) is the **only way** to recover your on-chain funds. ::: ### 3. Static Channel Backup (SCB) While the 24-word seed restores your Flokicoin balance, it **does not** automatically restore your Lightning channels. * **File**: `channel.backup` * **Location**: Inside your data directory (e.g., `chain/flokicoin/mainnet/`). * **Action**: Every time you open or close a channel, this file updates. You should back this file up to a separate device or cloud storage to ensure you can recover Lightning funds. ### 4. Unlocking the Wallet Every time you restart the **flnd** daemon, you must provide your wallet password to decrypt the local keys: ```bash flncli unlock ``` #### Pro Tip: Auto-Unlocking To allow the daemon to start and unlock automatically (useful for servers), you can use a password file: 1. Create a file containing only your wallet password (e.g., `~/.flnd/pwd.txt`). 2. Start the daemon with the flag: `--wallet-unlock-password-file=/path/to/pwd.txt`. ## Network & Connectivity To be a healthy part of the network, your node needs to talk to others. ### Port Forwarding If you are running **flnd** behind a home router, you should forward these ports to your node's local IP to allow external connectivity: * **5521 (TCP)**: The standard port for Lightning Network peer-to-peer communication. * **10005 (TCP)**: The gRPC port used by `flncli` and external dashboards like Lokihub. * **5050 (TCP)**: The REST API port for web-based integrations. ### Data Directory By default, all data (logs, database, macaroons) is stored in: - **Linux**: `~/.flnd/` - **macOS**: `~/Library/Application Support/Flnd/` - **Windows**: `%LOCALAPPDATA%\Flnd\` You can move this to an external drive using the `--lnddir=/path/to/data` flag. ## Basic Operations Once unlocked, the daemon will begin syncing with the Flokicoin network. Use these commands to manage your funds: **Check Sync Status:** ```bash flncli getinfo ``` **Generate a SegWit Address:** ```bash flncli newaddress p2wkh ``` **Check Balances:** ```bash flncli walletbalance # On-chain Flokicoin flncli channelbalance # Lightning Network liquidity ``` **Send Flokicoin:** ```bash flncli sendcoins --addr=[ADDRESS] --amt=[AMOUNT_IN_LOKI] ``` ## External Access (Macaroons) **flnd** uses "Macaroons" for authentication. These are credential files that grant specific permissions to external apps. * `admin.macaroon`: Full access (keep this secret). * `readonly.macaroon`: Only allows viewing balances and info. * `invoice.macaroon`: Only allows creating and viewing invoices. When connecting apps like **Zeus** or **Lokihub**, you will often need to provide the hex-encoded string of your `admin.macaroon`. ## Advanced: Lightning Network **flnd** is a full Lightning Network implementation. Once you have on-chain funds, you can open channels to start sending instant, near-free payments. 1. **Find a peer**: Ask for a node's public key on the [Flokicoin Discord](https://flokicoin.org/discord). 2. **Connect**: `flncli connect [pubkey]@[host]:[port]` 3. **Open Channel**: `flncli openchannel [pubkey] [amount_in_Loki]` ## Next Steps - **Node Operators**: Learn how to [connect Lokihub](/lokihub) to manage your node from a web dashboard. - **Developers**: **flnd** is fully compatible with the LND API. Refer to the [gRPC Documentation](https://api.lightning.community) or the [REST API Reference](https://lightning.engineering/api-docs/api/lnd/rest-endpoints/) for integration guides. - **Community**: Join the [#builders](https://flokicoin.org/discord) channel on Discord. --- ## 0.1.20-beta GitHub Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/flnd/issues This release synchronizes **flnd** with the latest core improvements and introduces support for advanced MuSig2 signing flows. ## Highlights ### Core Synchronization - **go-flokicoin Sync**: Updated to align with `v0.25.13-alpha`, incorporating the latest consensus rules and MuSig2 enhancements. - **TestNet4 Alignment**: Updated default peer-to-peer and RPC ports to stay in sync with the latest TestNet4 configuration (**P2P: 65212, RPC: 65213**). ### Features & Improvements - **Aggregated Nonce Signing**: Introduced support for the aggregated nonce signing flow in MuSig2, enabling more flexible signing procedures for multi-party applications. - **Stability Fixes**: Includes multiple stability fixes and performance optimizations in `htlcswitch`, `routing`, and `zpay32`. ### Runtime Update - **Go Version**: Now requires **Go 1.26.1** or newer for building from source. ## Assets | OS/Arch | flnd (daemon) | flncli (CLI) | | --- | --- | --- | | macOS (Apple Silicon) | [flnd-arm64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flnd-darwin-arm64-v0.1.20-beta.tar.gz) | [flncli-arm64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flncli-darwin-arm64-v0.1.20-beta.tar.gz) | | macOS (Intel) | [flnd-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flnd-darwin-amd64-v0.1.20-beta.tar.gz) | [flncli-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flncli-darwin-amd64-v0.1.20-beta.tar.gz) | | Linux x86_64 | [flnd-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flnd-linux-amd64-v0.1.20-beta.tar.gz) | [flncli-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flncli-linux-amd64-v0.1.20-beta.tar.gz) | | Linux arm64 | [flnd-arm64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flnd-linux-arm64-v0.1.20-beta.tar.gz) | [flncli-arm64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flncli-linux-arm64-v0.1.20-beta.tar.gz) | | Windows x86_64 | [flnd-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flnd-windows-amd64-v0.1.20-beta.zip) | [flncli-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.20-beta/flncli-windows-amd64-v0.1.20-beta.zip) | Additional builds (ppc64, mips, and *BSD) are available on the [GitHub release page](https://github.com/flokiorg/flnd/releases/tag/v0.1.20-beta). --- ## 0.1.21-beta GitHub Please report bugs using the issue tracker at GitHub: https://github.com/flokiorg/flnd/issues This release marks a significant milestone in the Flokicoin rebranding and synchronization with the latest upstream improvements. It introduces production-ready Taproot channels, enhanced reorg protection, and several stability fixes. ## Highlights ### Production Taproot Channels - **Full Support**: Full support for production simple taproot channels is now enabled. - **Integrations**: Includes integration with Static Channel Backups (SCB) and Watchtowers. - **CLI Additions**: Added `--taproot-final` flag to the `flncli openchannel` command. ### Features & Improvements - **Reorg Protection**: Channel closures now require between 3 and 6 confirmations (scaled by capacity) to protect against chain reorganizations. - **Onion Messaging**: Introduced basic support for onion message forwarding, laying the groundwork for improved privacy and cross-peer communication. - **EstimateFee Enhancements**: The `EstimateFee` RPC now returns the specific inputs used for the estimation, providing better transparency for fee calculations. - **Neutrino Defaults**: Set a reliable default fee URL for Neutrino on Flokicoin mainnet: `https://lokichain.info/api/v1/fees/recommended`. ### Core Improvements * **Flokicoin Rebranding**: Continued the comprehensive replacement of BTC/Bitcoin terminology with FLC/Flokicoin across logs, documentation, and the test suite. * **Gossiper Stability**: Fixed a shutdown deadlock and a panic that occurred if `TrickleDelay` was configured with a non-positive value. * **TLV Decoding**: Improved strictness in rejecting malformed TLV records with incorrect lengths. ### Technical Updates - **Go Toolchain**: Updated minimum supported Go version and fixed compatibility issues with Go 1.24+. - **Chain Parameters**: * Increased `MinCLTVDelta` to 24 blocks. * Increased `DefaultIncomingBroadcastDelta` to 16 blocks. * Restored 1-minute block safety parameters specific to the Flokicoin network. ## Assets | OS/Arch | flnd (daemon) | flncli (CLI) | | --- | --- | --- | | macOS (Apple Silicon) | [flnd-arm64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flnd-darwin-arm64-v0.1.21-beta.tar.gz) | [flncli-arm64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flncli-darwin-arm64-v0.1.21-beta.tar.gz) | | macOS (Intel) | [flnd-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flnd-darwin-amd64-v0.1.21-beta.tar.gz) | [flncli-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flncli-darwin-amd64-v0.1.21-beta.tar.gz) | | Linux x86_64 | [flnd-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flnd-linux-amd64-v0.1.21-beta.tar.gz) | [flncli-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flncli-linux-amd64-v0.1.21-beta.tar.gz) | | Linux arm64 | [flnd-arm64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flnd-linux-arm64-v0.1.21-beta.tar.gz) | [flncli-arm64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flncli-linux-arm64-v0.1.21-beta.tar.gz) | | Windows x86_64 | [flnd-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flnd-windows-amd64-v0.1.21-beta.zip) | [flncli-amd64](https://github.com/flokiorg/flnd/releases/download/v0.1.21-beta/flncli-windows-amd64-v0.1.21-beta.zip) | Additional builds (ppc64, mips, and *BSD) are available on the [GitHub release page](https://github.com/flokiorg/flnd/releases/tag/v0.1.21-beta). --- ## Wallets import Link from '@docusaurus/Link'; # Flokicoin Wallets To interact with the Flokicoin network, you need a safe place to manage your keys. Whether you're a power user who needs Lightning support or a beginner looking for a simple interface, we have an option for you. {/* --- Tap Wallet Card --- */} Tap Wallet (PWA) The Easiest Way to Start. A lightweight, mobile-first wallet that runs directly in your browser or as a Mini App in Discord and Telegram. No App Store installation required Links to Discord & Telegram accounts Tap Days & Faucet experience Get Tap Wallet {/* --- Lokinode Card --- */} Lokinode (GUI) The native desktop client for the Flokicoin Lightning Network. Deploy and run your Lightning node as a seamless background service. Native Background Service Node Profile Management Built-in On-chain Wallet Get Lokinode {/* --- tWallet Card --- */} tWallet The Power User's Choice. A fast, terminal-based wallet (TUI) with a built-in Lightning node. Ideal for users who want total control and privacy without the bloat. Integrated Lightning Network Privacy-focused (Neutrino) Fast, light, and low-resource Get tWallet {/* --- flnd Card --- */} flnd (Daemon) The Node Operator's Choice. A high-performance Lightning Network and wallet daemon. It's the engine for automation and robust node operations. Full Daemon & CLI experience Robust gRPC/REST API Ideal for 24/7 server nodes Explore flnd {/* --- Komodo Card --- */} Komodo Wallet A multi-coin wallet with a traditional graphic interface (GUI). Perfect for everyday users on desktop or mobile. Graphic User Interface Supports F-addresses & Segwit Mobile, Desktop, and Web Get Komodo ## Quick Comparison | Feature | Tap Wallet | Lokinode | tWallet | flnd | Komodo Wallet | | :--- | :--- | :--- | :--- | :--- | :--- | | **Interface** | Web / Mini App | Graphic (GUI) | Terminal (TUI) | Command Line (CLI) | Graphic (GUI) | | **Lightning** | No | Yes (Built-in) | Yes (Built-in) | Yes (Natively) | No | | **Experience** | Beginner | Beginner | Intermediate | Advanced | Beginner | | **Best For** | Mobile & Social | Desktop Nodes | Desktop Privacy | Node Operators | Everyday Users | :::tip[Running Lokihub?] If you plan on using [**Lokihub**](/lokihub), we highly recommend starting with [**Lokinode**](/wallets/lokinode), as it natively provides the necessary Lightning backend for node operations. ::: --- ## Komodo Wallet import Link from '@docusaurus/Link'; import { Monitor, Smartphone, Globe, ArrowRight, MousePointer2, Layers, Repeat } from 'lucide-react'; **Komodo Wallet** (formerly AtomicDEX) is a multi-coin, cross-platform wallet with a clean graphic interface. If you prefer a visual experience over terminal commands, this is your wallet. Visual Interface No terminal needed. See your balance and transactions in a familiar app. Multi-coin Manage Flokicoin alongside dozens of other assets in one secure place. Segwit Ready Lower fees and faster confirmations out of the box with `fc1` addresses. ## Choose Your Platform Pick the version that fits your workflow. All versions use the same secure technology. Desktop Best for daily management on Windows, macOS, or Linux. Full feature set Local private key storage Hardware wallet support Download Desktop Mobile Best for sending and receiving Flokicoin on the go. iOS & Android support Biometric security (FaceID/Fingerprint) Scan QR codes to pay Get Mobile App Web Best for quick access from any browser without installation. No installation required Access from any device Simple, fast interface Open Web Wallet ## Quick Setup Guide Getting started takes about 5 minutes. Follow these simple steps: 1. **Get the App**: Download or open the version for your preferred platform above. 2. **Create New Wallet**: Choose "Create New Wallet" and write down your **seed phrase**. 3. **Backup Your Keys**: Store your seed phrase on physical paper in a safe place. 4. **Enable Flokicoin**: Search for **Flokicoin** in the assets list and enable it to get your address. :::warning[Security First] Your seed phrase is your *only* backup. If you lose it, you lose your coins. Never store it digitally, never share it, and never take a screenshot of it. ::: ## About Addresses (F vs fc1) By default, Komodo Wallet generates an address starting with **F** (Legacy). It also fully supports **fc1** (Segwit) addresses. * **Legacy (F)**: Maximum compatibility with older services. * **Segwit (fc1)**: Recommended for everyday use. It results in **lower network fees** and is supported by most modern services. You can toggle between these formats in the wallet settings. Both formats work on the same Flokicoin network. ## Support & Links - **Komodo Docs**: [Official documentation](https://docs.komodoplatform.com/) for deep technical help. - **Discord**: Join the [Flokicoin Discord](https://flokicoin.org/discord) for community support. - **Next Steps**: Learn how [Flokicoin issuance works](/economy) or [start mining](/mining/pools). --- ## Lokinode import Link from '@docusaurus/Link'; import { Monitor, Zap, Shield, Activity, Settings, Download, Cpu, HardDrive, Layout, ChevronRight, Terminal, Box, Apple, Globe } from 'lucide-react'; import Image from '@theme/IdealImage'; import lokiImage from './assets/loki-lazereyes.png'; import lokiScreenshot from './assets/lokinode.png'; import Heading from '@theme/Heading'; Loki Lazereyes Lokinode The native desktop client for the Flokicoin Lightning Network. Deploy and run your Lightning node as a seamless background service. Windows .zip (64-bit) macOS Intel & Apple Silicon Linux .deb (Debian/Ubuntu) Version 0.1.4 Open Source Lokinode is a cross-platform desktop application that provides a graphical interface for running and managing a Flokicoin full node (FLND). It allows you to operate an on-chain wallet and participate in the Flokicoin Lightning Network (FLN). ## Features - **Background Service**: Lokinode runs as a persistent service. You can close the user interface while the node continues to run in the system tray. - **On-chain Wallet**: Initialize and unlock your wallet, send/receive FLC, and view transaction history. - **Node Management**: Monitor block height, sync status, and mempool tip. View application logs directly in the interface. - **Multi-Node Profiles**: Run and manage multiple nodes on the same machine. Lokinode automatically tracks your data directories and configurations, allowing you to quickly switch between different node profiles. ## Installation and Setup :::tip[Coming from tWallet?] If you already use [**tWallet**](/wallets/twallet), **no migration is needed**. Your 24-word seed phrase is fully compatible. Even better, because both applications share the same default data directories, Lokinode will automatically detect your existing node. You can simply launch the app and power on your default node profile with **zero setup required**. ::: 1. **Download**: Download the executable for your corresponding operating system. 2. **Node Configuration**: Launch Lokinode. The setup wizard will first ask you to set a public alias and select a local data directory. 3. **Wallet Setup**: Choose to either create a new wallet (which provides a new 24-word seed phrase) or restore an existing one via mnemonic. 4. **Security**: Set a strong encryption password to protect your local data. 5. **Sync**: Once the node boots, it will automatically begin synchronizing with the Flokicoin blockchain. ## For Node Operators & Developers If you are looking to deploy a headless node on a VPS or run automated operations, you have two primary options: Automated Server Setup A plug-and-play Docker bundle for VPS deployments. It automates the setup of flnd and Lokihub with a single script, making it perfect for running a 24/7 cloud node.