Protocol Tokenomics Roadmap Technology Testnet Docs
🚀 BERACOIN Testnet Phase 2 is launching soon — SHA-256d + Argon2id consensus live
Pre-Launch Phase 2 Testnet — Open Registration Now Open

The Institutional Blockchain Protocol

BERACOIN is a Layer-1 Proof-of-Work blockchain combining SHA-256d + Argon2id memory-hard consensus, native asset tokenization, and on-chain governance — engineered for real-world institutional adoption.

Scroll
Max Supply
42M BERA
Initial Reward
20 BERA
Block Time
150s
Halving
5-Year
Consensus
PoW Hybrid
Protocol

Engineered for Institutional Scale

Memory-Hard Proof-of-Work
SHA-256d combined with Argon2id (256MB memory requirement) delivers ASIC resistance at protocol level. LWMA-3 difficulty adjustment over 45-block windows ensures attack-resistant retargeting every block.
SHA-256d + Argon2id
🏛
On-Chain Governance
Validator bonds of 10,000 BERA unlock governance seats. Community voting, slashing, and multi-sig treasury create a self-governing economy.
🔗
Native Asset Layer
Issue tokens, stablecoins, and RWAs via BRA-20/721 standards — no smart contracts needed for basic tokenization.
Fast Settlement
150s blocks. 6-confirmation institutional finality (~15 min). Parallel tx processing on roadmap.
🔐
Audit-Ready
secp256k1 + Schnorr. UTXO model. 3-of-5 multi-sig treasury. Independent audits pre-mainnet.
🌉
Cross-Chain
Ethereum + Bitcoin bridges and Cosmos IBC compatibility on the Phase 9 roadmap.
Tokenomics

42 Million Hard Cap

Fixed supply. Mathematical emission. Initial block reward of 20 BERA derived from the geometric series of the halving schedule.

42M
Total Supply
Mining Rewards
28,140,000 BERA
67%
Ecosystem Treasury
5,040,000 BERA
12%
Node Reserve
4,200,000 BERA
10%
Development Reserve
2,940,000 BERA
7%
Foundation
1,680,000 BERA
4%
Roadmap

Phase-by-Phase toward Mainnet

P_00 — P_01
Active
Foundation
  • Whitepaper + branding
  • Legal entity formation
  • SHA-256d + Argon2id
  • LWMA-3 difficulty
P_02 — Testnet
Phase 2
Core Engine + Testnet
  • Rust blockchain core
  • P2P networking
  • HD wallet
  • Public testnet launch
P_03 — P_05
Next
Infrastructure
  • Block explorer + APIs
  • Mining system
  • Governance layer
P_06 — P_09
Planned
Ecosystem Layer
  • BRA-20/721 standards
  • BeraVM contracts
  • ETH + BTC bridges
P_10 — P_11
Planned
Audits + Nodes
  • 2 independent audits
  • Validator program
  • Bug bounty
P_13 — ∞
Launch
Mainnet + Expansion
  • Genesis block
  • Exchange listings
  • Developer grants
Technology

Production-Grade Architecture

consensus/pow.rs
// BERACOIN Hybrid PoW — SHA-256d + Argon2id
pub fn bera_hash(header: &BlockHeader, nonce: u64) -> [u8; 32] {
  // Stage 1: SHA-256d (Bitcoin-compatible)
  let h1 = sha256d(&header.serialize_with_nonce(nonce));
  // Stage 2: Argon2id (256MB memory-hard)
  let params = Argon2Params {
    m_cost: 262144, // 256 MB
    t_cost: 2, p_cost: 1,
  };
  argon2id(&h1, &NETWORK_SALT, &params)
}

// LWMA-3: N=45 window, T=150s target
pub fn next_target(ts: &[u64], tgts: &[U256]) -> U256 {
  const N: usize = 45; const T: u64 = 150;
  let mut sum = U256::zero(); let mut j = 0u64;
  for i in 1..=N {
    let st = (ts[i]-ts[i-1]).min(6*T);
    j += i as u64;
    sum += tgts[i] * st * i as u64;
  }
  sum * T / (j * T + j)
}
🦀
Rust Protocol Core
Memory-safe consensus engine. Zero-cost abstractions. Formally specified cryptographic primitives including secp256k1, Schnorr, SHA-256d, Argon2id.
🐹
Go Node Daemon
libp2p transport, Kademlia DHT peer discovery, GossipSub block propagation, fast-sync for new nodes joining the network.
🗄
RocksDB + PostgreSQL
LSM-tree chain state storage. Indexed block explorer data in PostgreSQL with Prisma ORM. Redis caching layer.
🔌
JSON-RPC 2.0 + GraphQL
Full developer API compatible with Bitcoin-derived tooling. WebSocket subscriptions for real-time mempool and block events.
Get Involved

Build on the future of
decentralized finance.

Join as a miner, validator, developer, or institutional partner. Register for Testnet Phase 2 access today.

Protocol

The BERACOIN Protocol

Complete technical specification of consensus, network architecture, cryptography, security model, and governance framework.

Consensus

Hybrid PoW Consensus

Two-stage proof-of-work. Stage 1: SHA-256d. Stage 2: Argon2id memory-hard layer. Combined they create a mining function that is both Bitcoin-compatible in infrastructure and ASIC-resistant by design.

Stage 1 — SHA-256d

Standard double SHA-256 of the block header + 64-bit nonce. Compatible with Bitcoin-derived mining infrastructure for Stage 1 computation. Fast, deterministic, hardware-independent.

fn sha256d(data: &[u8]) -> [u8; 32] {
  sha256(&sha256(data))
}

Stage 2 — Argon2id

SHA-256d result fed into Argon2id — winner of the Password Hashing Competition. Requires 256MB SRAM per hash attempt. Renders ASIC domination economically unviable at any practical chip density.

let p = Argon2Params {
  m_cost: 262144, // 256 MB
  t_cost: 2, p_cost: 1,
  tag_len: 32,
};
argon2id(&stage1_hash, &SALT, &p)
⛏ Complete Mining Pipeline
Block Header + NonceSHA-256d() → 32-byte hash → Argon2id(hash, 256MB, 2 rounds) → 32-byte result → result < target? → Valid block

Difficulty

LWMA-3 Algorithm

Window
N=45
blocks per adjustment
Target
150s
target block time
Cadence
Every Block
continuous retarget

Nodes

Node Architecture

Full Node

Complete Validation

Independently validates every block since genesis. Enforces all consensus rules. Requires 500GB SSD, 8GB RAM, 50Mbps uplink. No trust in third parties.

Validator Node

Governance + Fees

Full node + 10,000 BERA bond. Earns tx fee share, votes on governance proposals. Subject to slashing for downtime (1%) or Byzantine behavior (up to 100%).

Light Node

SPV Verification

Downloads block headers only. Verifies transactions via Merkle proofs. Suitable for mobile wallets and embedded systems. 512MB RAM, 1GB storage.

Archive Node

Full History

Stores complete historical state for every block height. Required for block explorers, analytics, and advanced API services. 2TB+ storage.


Security

Security Model

ThreatMitigationLayer
51% AttackArgon2id memory layer raises attack cost ~100× vs pure SHA-256. LWMA-3 responds within 45 blocks to hashrate spikes.Protocol
Double SpendUTXO model. 6-confirmation (~15 min) finality for institutional settlement. Full node re-validation.Protocol
Sybil AttackValidator bond (10,000 BERA). PoW connection handshake cost at P2P layer. IP reputation tracking.Protocol
Key CompromiseBIP32/BIP44 HD wallets. Schnorr m-of-n multisig. Hardware wallet support (Ledger, Trezor).Protocol
Treasury Attack3-of-5 multisig governance council. Timelock on large withdrawals. Public on-chain audit trail.Phase 6

Governance

Governance Framework

01

Proposal Submission

Any validator with active 10,000 BERA bond may submit a proposal with a 500 BERA deposit (refunded on pass, burned on failure to reach quorum). Covers: parameter changes, treasury expenditures, protocol upgrades, policy decisions.

02

7-Day Deliberation

Community discussion period. Validators and BERA holders signal intent. No binding votes yet — Forum and Discord deliberation phase.

03

5-Day On-Chain Vote

Votes cast on-chain, weighted by locked BERA. Options: YES / NO / ABSTAIN. Quorum: minimum 30% of eligible voting power. Passage: >50% YES of participating votes.

04

48hr Timelock + Execution

Passed proposals enter 48-hour safety timelock before execution. Emergency Security Council proposals may bypass with 4-of-5 multi-sig. All executions are on-chain and publicly auditable.

Tokenomics

BERA Token Economics

Complete supply model, emission mathematics, genesis distribution, reward split mechanics, and long-term economic sustainability design.

Supply Mathematics

How 20 BERA Was Derived

The initial block reward is not arbitrary — it is mathematically derived from the 42M hard cap and 150-second block time:

Step 1 — Blocks Per Year
31,536,000 sec/year ÷ 150 sec/block = 210,240 blocks/year
Step 2 — Blocks Per 5-Year Era
210,240 × 5 = 1,051,200 blocks per halving era
Step 3 — Infinite Geometric Series
R × 1,051,200 × (1 + ½ + ¼ + ...) = R × 1,051,200 × 2
The series 1 + ½ + ¼ + ... converges to exactly 2
✓ Step 4 — Initial Reward
42,000,000 = R × 2,102,400 → R = 19.98 ≈ 20 BERA
Reward Split Model
Each 20 BERA block reward is automatically split by protocol: 13.38 BERA (67%) to miner · 2.40 BERA (12%) to Treasury · 2.00 BERA (10%) to Node Reserve · 1.40 BERA (7%) to Dev · 0.80 BERA (4%) to Foundation. This is analogous to Zcash's founders reward — all allocations vest continuously, no lump-sum pre-mine.

Emission

Halving Schedule

EraBlock RangeYearsBlock RewardMiner ShareEra OutputCumulative
Era 10 – 1,051,2000–520 BERA13.38 BERA21,024,00021M (50.1%)
Era 21,051,201 – 2,102,4005–1010 BERA6.69 BERA10,512,00031.5M (75.1%)
Era 32,102,401 – 3,153,60010–155 BERA3.35 BERA5,256,00036.8M (87.6%)
Era 43,153,601+15–202.5 BERA1.675 BERA2,628,00039.4M (93.9%)
Era 5+4,204,801+20+≤1.25 BERA≤1,314,000→ 42,000,000

Allocation

Token Allocation

AllocationAmount%MechanismVesting
Mining Rewards28,140,00067%Block reward (miner share)Continuous emission
Ecosystem Treasury5,040,00012%Block reward splitGovernance-controlled
Node Reserve4,200,00010%Block reward split4-year linear
Development Reserve2,940,0007%Block reward split3yr cliff + 2yr linear
Foundation1,680,0004%Block reward split5-year linear
Hard Cap42,000,000100%Protocol-enforced
⚠ Hard Cap Enforcement
Any block with a coinbase that would push total supply past 42,000,000 BERA is invalid at consensus level. All full nodes reject it regardless of PoW validity.
Technology

Architecture & Tech Stack

Every component is production-grade, modular, and designed for long-term maintainability at global scale.

Protocol Core — Rust

Memory-safe consensus engine. All cryptographic primitives formally specified. Consensus, UTXO model, mempool, P2P, and RPC in Rust.

Safety + Performance

Node Daemon — Go

High-concurrency P2P via libp2p. Goroutine-based networking. DHT peer discovery, GossipSub propagation, fast-sync for new nodes.

Concurrency

Explorer + APIs — Node.js

Chain indexer → PostgreSQL. REST + GraphQL APIs. Redis cache. WebSocket subscriptions for real-time data.

API + Indexer

Website + Wallet — Next.js 14

App Router, React Server Components, Tailwind CSS v4. Browser extension + React Native mobile wallet. Vercel deployment.

Frontend

Repository

Monorepo Structure

beracoin/
protocol/ # Rust — consensus, crypto, UTXO
├── consensus/pow.rs # SHA-256d + Argon2id + LWMA-3
├── crypto/ # secp256k1, Schnorr, Merkle
├── chain/utxo.rs # UTXO model + mempool
└── rpc/ # JSON-RPC 2.0 server
node/ # Go — daemon, P2P, CLI
└── docker/ # Docker Compose + Dockerfile
wallet/ # Rust core + React extension + RN
explorer/ # Node.js indexer + Next.js UI
website/ # Next.js 14 — this site
contracts/ # BeraVM + BRA-20/721 standards
bridge/ # ETH + BTC + Cosmos bridges
security/ # Audit reports + threat model
whitepaper/src/ # LaTeX source

SHA-256 Settings

Full SHA-256d Configuration

Complete configuration parameters for the BERACOIN mining algorithm, genesis block, and network settings. These values are hardcoded in the protocol source.

Consensus
Genesis Block
beracoin.conf
Stratum Config
RPC Reference
// ─── BERACOIN CONSENSUS PARAMETERS ───────────────────────────
// File: src/chainparams.cpp (from Litecoin fork base)

// ─── PROOF-OF-WORK ───────────────────────────────────────────
consensus.powLimit = uint256S("00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
consensus.nPowTargetTimespan = 150; // 150 seconds per block target
consensus.nPowTargetSpacing = 150; // spacing == timespan (LWMA-3 handles retarget)
consensus.fPowAllowMinDifficultyBlocks = false;
consensus.fPowNoRetargeting = false;

// ─── ARGON2ID LAYER PARAMETERS ────────────────────────────────
consensus.argon2_m_cost = 262144; // 256 MB memory requirement
consensus.argon2_t_cost = 2; // 2 iterations
consensus.argon2_p_cost = 1; // 1 parallelism lane
consensus.argon2_tag_len = 32; // 32-byte output (matches SHA-256)
consensus.argon2_salt = "BERACOIN_MAINNET_SALT_v1"; // Network-unique salt

// ─── LWMA-3 DIFFICULTY PARAMETERS ─────────────────────────────
consensus.lwma_n = 45; // 45-block window
consensus.lwma_k = 45 * 46 * 150 / 2; // k = N*(N+1)*T/2 = 155,250
consensus.lwma_T = 150; // target seconds
consensus.lwma_max_jump = 4; // max 4x difficulty change per window

// ─── HALVING + SUPPLY ─────────────────────────────────────────
consensus.nSubsidyHalvingInterval = 1051200; // 5 years @ 150s blocks
consensus.nInitialSubsidy = 20 * COIN; // 20 BERA = 2,000,000,000 beratoshi
consensus.COIN = 100000000; // 8 decimal places (100M beratoshi = 1 BERA)
consensus.nMaxSupply = 42000000 * COIN; // 42M BERA hard cap

// ─── REWARD SPLIT ADDRESSES ───────────────────────────────────
consensus.treasury_pct = 12; // 12% → Ecosystem Treasury
consensus.node_reserve_pct = 10; // 10% → Node Reserve
consensus.dev_reserve_pct = 7; // 7% → Development Reserve
consensus.foundation_pct = 4; // 4% → Foundation
// remaining 67% → miner coinbase output

// ─── NETWORK MAGIC BYTES ──────────────────────────────────────
pchMessageStart[0] = 0xBE; // B
pchMessageStart[1] = 0xC0; // C (BECO)
pchMessageStart[2] = 0x1A;
pchMessageStart[3] = 0x2B;

// ─── PORTS ────────────────────────────────────────────────────
nDefaultPort = 9433; // Mainnet P2P
nRPCPort = 9432; // Mainnet RPC
nTestnetPort = 19433; // Testnet P2P
nTestnetRPCPort = 19432; // Testnet RPC

// ─── FINALITY ────────────────────────────────────────────────
nCoinbaseMaturity = 100; // mining reward matures after 100 blocks
nStakeMinConfirmations = 6; // 6 confs = institutional finality (~15 min)
// ─── GENESIS BLOCK PARAMETERS ────────────────────────────────
// File: src/chainparams.cpp

// Timestamp string embedded in genesis coinbase
const char* pszTimestamp = "BERACOIN Genesis 2024 — Institutional Blockchain for Global Finance";

// Genesis block settings
genesis.nTime = 1735689600; // Jan 1, 2025 00:00:00 UTC (planned)
genesis.nBits = 0x1e0ffff0; // starting difficulty target
genesis.nVersion = 1;
genesis.nNonce = TBD; // must be mined to satisfy nBits

// Genesis coinbase transaction
// Miner reward = 0 (genesis block has no spendable output by convention)
// The timestamp string proves no pre-mining before this date

// Expected genesis block hash (after mining nNonce):
// hashGenesisBlock = 0x0000...
// (will be computed and hardcoded before mainnet launch)

// ─── ADDRESS VERSION BYTES ────────────────────────────────────
// Mainnet: addresses start with 'B'
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1, 25); // 'B'
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1, 5); // '3'
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1, 128); // WIF private key

// BIP32 HD wallet extended keys
base58Prefixes[EXT_PUBLIC_KEY] = {0x04,0x88,0xB2,0x1E}; // xpub
base58Prefixes[EXT_SECRET_KEY] = {0x04,0x88,0xAD,0xE4}; // xprv

// BIP44 derivation path
// m/44'/7777'/account'/change/index
// Coin type 7777 — BERA (to be registered with SLIP-0044)
# ─── beracoin.conf — Full Node Configuration ──────────────────
# Location: ~/.beracoin/beracoin.conf (Linux/Mac)
# %APPDATA%\BERACOIN\beracoin.conf (Windows)

# ─── NETWORK ──────────────────────────────────────────────────
listen=1 # accept incoming connections
server=1 # run JSON-RPC server
daemon=1 # run as background daemon
port=9433 # P2P port (mainnet)
rpcport=9432 # RPC port

# ─── RPC CREDENTIALS ──────────────────────────────────────────
rpcuser=berauser
rpcpassword=CHANGE_THIS_STRONG_PASSWORD
rpcallowip=127.0.0.1
rpcbind=127.0.0.1

# ─── PEERS / SEEDNODES ────────────────────────────────────────
addnode=seed1.beracoin.io:9433
addnode=seed2.beracoin.io:9433
addnode=seed3.beracoin.io:9433
addnode=seed4.beracoin.io:9433
dnsseed=1 # use DNS seed nodes

# ─── STORAGE ──────────────────────────────────────────────────
datadir=/data/beracoin # custom data directory (optional)
dbcache=512 # 512 MB RocksDB cache
maxmempool=300 # 300 MB mempool size
prune=0 # 0 = full node (no pruning)
# prune=550 # 550 MB = pruned node (light storage)

# ─── MINING (solo mine to node) ────────────────────────────────
mine=0 # 0 = no solo mining, use external miner
# mine=1 # enable solo mining to rpcuser
mineaddress=YOUR_BERA_ADDRESS # receiving address for solo mining

# ─── LOGGING ──────────────────────────────────────────────────
debug=0 # 0=normal, 1=verbose, net/mempool/rpc
logips=0 # log peer IPs (privacy-off by default)

# ─── TESTNET ──────────────────────────────────────────────────
# testnet=1 # uncomment to run on testnet
# testnet port: 19433 (P2P) 19432 (RPC)
# ─── STRATUM V2 MINING POOL CONFIG ───────────────────────────
# For pool operators and solo-mining proxy setup

[pool]
name = "BERACOIN Mining Pool"
coin = "BERA"
algorithm = "berahash" # SHA-256d + Argon2id
mainnet_port = 3333 # CPU miners
gpu_port = 3334 # GPU miners
ssl_port = 3443 # SSL-encrypted connections

[rpc]
host = "127.0.0.1"
port = 9432
user = "berauser"
pass = "STRONG_PASSWORD"

[shares]
pool_fee = 1.0 # 1% fee
payout_scheme = "PPLNS" # Pay Per Last N Shares
min_payout = 0.5 # 0.5 BERA minimum payout
payout_interval = 3600 # pay every hour

# ─── MINER CONNECTION STRING ─────────────────────────────────
# stratum+tcp://pool.beracoin.io:3333
# Username: YOUR_BERA_ADDRESS.worker_name
# Password: x (any string)

# ─── MINER COMMANDS ──────────────────────────────────────────
# CPU miner:
./bera-miner --pool stratum+tcp://pool.beracoin.io:3333 \
  --user BERA_ADDRESS.cpu01 --threads 8

# GPU miner (CUDA):
./bera-miner-cuda --pool stratum+tcp://pool.beracoin.io:3334 \
  --user BERA_ADDRESS.gpu01 --gpu 0

# GPU miner (OpenCL / AMD):
./bera-miner-ocl --pool stratum+tcp://pool.beracoin.io:3334 \
  --user BERA_ADDRESS.amd01 --platform 0 --device 0
# ─── JSON-RPC 2.0 QUICK REFERENCE ────────────────────────────
# Endpoint: http://rpcuser:rpcpass@127.0.0.1:9432

# Check sync status
curl -s --data-binary '{"jsonrpc":"2.0","method":"getblockchaininfo","id":1}' \
  http://user:pass@127.0.0.1:9432

# Get current block count
beractl getblockcount

# Get block by hash
beractl getblock "BLOCK_HASH" 2

# Get mining info
beractl getmininginfo
# Returns: blocks, currentblocktx, difficulty, networkhashps, reward

# Send transaction
beractl sendtoaddress "BERA_ADDRESS" 10.5

# Generate new address
beractl getnewaddress

# Get wallet balance
beractl getbalance

# List UTXOs
beractl listunspent 1 9999999 '["BERA_ADDRESS"]'

# ─── BERACOIN-SPECIFIC METHODS ───────────────────────────────
# Get native BRA-20 asset balance
beractl bera_getassetbalance "BERA_ADDRESS" "TOKEN_SYMBOL"

# Issue a new BRA-20 token
beractl bera_issueasset "TOKEN_NAME" "SYMBOL" 1000000 8
# args: name, symbol, supply, decimals

# Get validator bonding status
beractl bera_getvalidator "BERA_ADDRESS"

API

JSON-RPC 2.0 Methods

MethodDescriptionReturns
getblockcountCurrent chain heightInteger
getblock <hash>Block data by hashBlock object
getmininginfoHashrate, difficulty, rewardObject
sendrawtransactionBroadcast signed txTXID
bera_getbalanceBERA balance for addressAmount
bera_listassetsBRA-20 assets at addressArray
bera_issueassetIssue new BRA-20 tokenAsset ID
bera_getvalidatorValidator bond statusValidator obj
Phase 2 — Registration Open

BERACOIN Testnet Phase 2

The second testnet phase brings the full SHA-256d + Argon2id hybrid consensus engine live for the first time. Mine TBERA, test wallets, run validators, submit governance proposals — everything before mainnet.

150s
Block Time
20
TBERA Reward
19433
P2P Port
Free
To Join
What's New

Phase 2 vs Phase 1

FeaturePhase 1 (Internal)Phase 2 (Public)
ConsensusSHA-256d onlySHA-256d + Argon2id
NetworkPrivate (dev team only)Public testnet
MiningCPU regtest onlyCPU + GPU + Pools
WalletCLI onlyWeb wallet (beta)
ExplorerNonetestnet.berascan.io
FaucetNonefaucet.beracoin.io
GovernanceNot deployedBeta (limited)
Smart ContractsNot availablePhase 8 (future)
Network Details

Testnet Configuration

🌐 Network ParametersLive
Network NameBERACOIN Testnet v2
Chain ID7777-test
Currency SymbolTBERA
Block Time150 seconds
P2P Port19433
RPC Port19432
ConsensusSHA-256d + Argon2id
LWMA-3 WindowN=45 blocks
Address Prefixt (testnet 'b')
🔗 Network Endpoints
Seed Node 1seed1-test.beracoin.io:19433
Seed Node 2seed2-test.beracoin.io:19433
Public RPCrpc-test.beracoin.io:19432
Explorertestnet.berascan.io
Faucetfaucet.beracoin.io
Mining Pooltest-pool.beracoin.io:3333
WebSocketws-test.beracoin.io:9944
GraphQLapi-test.beracoin.io/graphql
Status Pagestatus.beracoin.io
Quick Start

Connect to Testnet in 3 Steps

01

Install BERACOIN Node

Pull the testnet Docker image or build from source. The node binary is berad and the CLI is beractl.

Terminal
# Option A: Docker (easiest)
docker pull beracoin/berad:testnet-v2
docker run -d --name bera-testnet \
  -p 19433:19433 -p 19432:19432 \
  -e NETWORK=testnet \
  beracoin/berad:testnet-v2

# Option B: Build from source (Rust required)
git clone https://github.com/beracoin/beracoin
cd beracoin/protocol && cargo build --release
./target/release/berad --testnet
02

Configure for Testnet

Create or modify your beracoin.conf to enable testnet mode and connect to seed nodes.

~/.beracoin/beracoin.conf
testnet=1
addnode=seed1-test.beracoin.io:19433
addnode=seed2-test.beracoin.io:19433
server=1
rpcport=19432
rpcuser=testuser
rpcpassword=testpass123
debug=1 # verbose logging for testnet
03

Get Testnet TBERA from Faucet

Generate a testnet address, then request TBERA from the faucet. Each request grants 50 TBERA with a 24-hour cooldown per address.

beractl
# Generate testnet address
beractl --testnet getnewaddress
# Returns: bBERA_TEST_ADDRESS_HERE

# Check sync status
beractl --testnet getblockchaininfo

# After faucet sends TBERA — check balance
beractl --testnet getbalance

# Send test transaction
beractl --testnet sendtoaddress "RECIPIENT_ADDRESS" 5.0
SHA-256 + Argon2id

Testnet Mining Parameters

⚡ Reduced Argon2id Parameters for Testnet
Testnet uses m_cost = 65536 (64MB) instead of mainnet's 256MB. This allows easier CPU mining for developers while still testing the full two-stage algorithm pipeline. GPU miners may use higher memory settings to simulate mainnet conditions.
⛏ Testnet PoW Parameters
Stage 1SHA-256d
Stage 2Argon2id
Argon2id m_cost65,536 (64 MB)
Argon2id t_cost2 iterations
Argon2id p_cost1 lane
Difficulty AlgoLWMA-3 (N=45)
Starting nBits0x1f0fffff
Block Reward20 TBERA (test)
💻 Recommended Mining Hardware
CPU (Budget)Any 4-core, 8GB RAM
CPU (Optimal)Ryzen 9 / i9, 32GB RAM
GPU (Testnet)Any CUDA/OpenCL, 4GB+ VRAM
GPU (Mainnet sim)RTX 4090 / RX 7900 XTX
ASICNot viable (Argon2id)
Pool Stratumtest-pool.beracoin.io:3333
Solo MiningRPC 127.0.0.1:19432
Block Time Target150s
Phase 2 Goals

Testnet Milestones

Milestone 1

1,000 Blocks

Confirm LWMA-3 difficulty adjustment is stable. SHA-256d + Argon2id pipeline functioning correctly. Block propagation latency <2 seconds peer-to-peer.

Milestone 2

50+ Nodes

Geographic distribution across at least 10 countries. DHT peer discovery stress-tested. Network partition recovery confirmed. Block sync from genesis verified <30 min.

Milestone 3

Wallet + Explorer

Web wallet sends and receives TBERA. Block explorer indexes all transactions. Faucet functioning. WebSocket real-time block/tx feed operational.

Milestone 4

Governance Beta

First on-chain governance proposal submitted and voted on by testnet validators. Slashing conditions triggered and verified. Treasury multi-sig tested.

Milestone 5

BRA-20 Tokens

First BRA-20 token issued on testnet. Token transfer, balance query, and explorer display all functional. BRA-721 NFT issuance tested.

Milestone 6

Security Audit Ready

All P0 and P1 bugs from community resolved. Code frozen for audit. Two independent security firms engaged. Bug bounty program live on Immunefi.

Ready to join Testnet Phase 2?

Early testers receive priority validator slots and recognition in the genesis block message when mainnet launches.

Roadmap

Complete Launch Workflow

Full phase-by-phase development plan from genesis block design through mainnet launch and exchange listings — with detailed technical milestones per phase.

ActiveP_00 — P_01

Foundation + Consensus

Genesis block design, legal entity formation, SHA-256d + Argon2id implementation, LWMA-3 difficulty algorithm, whitepaper publication.

  • Total supply: 42,000,000 BERA hard-coded
  • Initial reward: 20 BERA (mathematically derived)
  • Halving interval: 1,051,200 blocks (5 years)
  • Legal entity formed (Switzerland / Singapore)
  • SHA-256d + Argon2id hybrid PoW
  • LWMA-3: N=45, T=150s
  • Whitepaper v1.0 published
Phase 2 — NowP_02 — Testnet

Core Engine + Public Testnet

Rust blockchain core, P2P networking via libp2p, HD wallet infrastructure, and public testnet launch with Argon2id live.

  • Rust protocol core: UTXO, mempool, consensus
  • libp2p P2P: DHT, GossipSub, fast-sync
  • BIP32/BIP44 HD wallet + BIP39 mnemonics
  • Public testnet with TBERA faucet
  • Block explorer: testnet.berascan.io
  • CPU + GPU mining support
  • JSON-RPC 2.0 node API

Upcoming Phases

P_03 → Mainnet

P_03 — Month 3–4
Wallet Infrastructure
Browser extension wallet (React + WebExtension API). CLI wallet. Mobile wallet (React Native). Hardware wallet support: Ledger + Trezor via BIP44 derivation path m/44'/7777'.
P_04 — Month 4–5
Block Explorer + APIs
Node.js chain indexer → PostgreSQL. REST + GraphQL APIs. WebSocket for real-time mempool. Production explorer: berascan.io. API keys for enterprise integration.
P_05 — Month 5–6
Mining Ecosystem
Stratum v2 protocol implementation. CPU miner (Rust). CUDA + OpenCL GPU miners. Mining pool software (open-source). Pool dashboard. Profitability API.
P_06 — Month 6–7
Governance Layer
On-chain proposal system. Validator bonding contract (10,000 BERA). Slashing logic. 3-of-5 treasury multisig. Governance portal UI. Timelock contracts. Voting dashboard.
P_07 — Month 7–8
Asset Tokenization (BRA-20/721)
Native fungible token standard (BRA-20). Non-fungible/RWA standard (BRA-721). Asset issuance CLI + web UI. On-chain token registry. Stablecoin issuance framework.
P_08 — Month 8–11
BeraVM Smart Contracts
WebAssembly-based BeraVM specification. Contract deployment + execution engine. Rust SDK. Gas model. Formal verification tooling. Developer playground and testnet deployment.
P_09 — Month 11–14
Cross-Chain Bridges
Ethereum bridge: WBERA on ETH, decentralized relayer network. Bitcoin bridge: HTLC atomic swaps. Cosmos IBC module. Bridge monitoring + emergency pause. Economic relayer bonds.
P_10 — Month 12–14
Node Ecosystem
One-click Docker installer. Validator onboarding portal. Hardware incentive program for geographic distribution. Node health monitoring. Operator docs and support.
P_11 — Month 14–16
Security Audits
Two independent audit firms. Full scope: consensus, cryptography, wallet, smart contracts, bridges. Bug bounty on Immunefi. Public audit reports. Critical fixes + re-audit.
P_12 — Month 15–16
Pre-Mainnet Testnet
Production-identical testnet. 30-day stress test. 51% simulation in controlled environment. Network partition testing. Final genesis parameters locked. Community genesis ceremony planning.
P_13 — Month 17–18
🚀 Mainnet Launch
Genesis block mined on announced timestamp. First block reward distributed. berascan.io explorer live. Mainnet wallets released. Press release. Foundation multisig activated. Mining pools open.
P_14 — Month 18+
Exchange Listings + Ecosystem
Tier-3: MEXC, Gate.io, BitMart (Month 18–20). Tier-2: KuCoin, Bitget (Month 20–24). DEX: WBERA on Uniswap v3. Developer grants. RWA partnership program. Institutional investor relations.
Documentation

Developer Documentation

Node setup, API reference, wallet integration, mining guides, and protocol specifications for the BERACOIN ecosystem.

🖥

Node Setup

Full node, validator, and light node guides. Docker + bare-metal.

Available

Mining Guide

CPU + GPU mining setup, SHA-256d + Argon2id, pools, and profitability calculator.

Available
🔌

API Reference

JSON-RPC 2.0, REST, GraphQL, and WebSocket subscription APIs.

Testnet
💼

Wallet Integration

Key derivation (BIP32/44/39), tx signing, broadcast, UTXO management.

Testnet
🪙

BRA-20 Standard

Issue and manage fungible tokens natively on BERACOIN without smart contracts.

Phase 7
🖼

BRA-721 / RWA

Tokenize real-world assets. Non-fungible asset issuance and on-chain attestation.

Phase 7

Quick Start

Run a BERA Node

Terminal — Docker Quick Start
# 1. Start full testnet node
docker run -d --name bera-testnet \
  -p 19433:19433 -p 19432:19432 \
  -v /data/beracoin:/data \
  -e NETWORK=testnet \
  -e RPCUSER=berauser \
  -e RPCPASS=strongpass123 \
  beracoin/berad:testnet-v2

# 2. Check sync progress
docker exec bera-testnet beractl getblockchaininfo

# 3. Get a fresh address
docker exec bera-testnet beractl getnewaddress

# 4. Request TBERA from faucet (in browser)
# https://faucet.beracoin.io → paste address → receive 50 TBERA

# 5. Start CPU mining on testnet
./bera-miner --pool stratum+tcp://test-pool.beracoin.io:3333 \
  --user YOUR_ADDRESS.worker1 --threads 4 --testnet
Hardware Requirements (Testnet Full Node)
CPU: 4+ cores · RAM: 8GB (64MB needed for Argon2id testnet) · Storage: 100GB SSD · Network: 25Mbps upload · OS: Ubuntu 22.04 / Debian 12 / macOS 13+ / Windows 11
Whitepaper v1.0
Draft · 2024

BERACOIN: A Hybrid Proof-of-Work Layer-1 Blockchain for Institutional Finance

BERACOIN Foundation  ·  Technical Whitepaper  ·  2024

BERACOIN presents a hybrid Proof-of-Work Layer-1 blockchain combining SHA-256d with an Argon2id memory-hard verification layer (256 MB, 2 rounds, 1 lane) to achieve ASIC-resistant, decentralised mining while maintaining institutional-grade transaction settlement at 150-second block intervals. A fixed supply of 42,000,000 BERA with 5-year halving intervals and a mathematically derived initial block reward of 20 BERA provides a provably sound and predictable monetary policy. A continuous protocol reward-split mechanism distributes 67% of each block reward to miners and the remaining 33% proportionally to Treasury, Node Reserve, Development, and Foundation allocations — eliminating lump-sum pre-mine risk entirely. Native BRA-20/721 asset tokenisation, on-chain governance with validator bonding and slashing, and a cross-chain bridge roadmap targeting Ethereum, Bitcoin, and Cosmos IBC position BERACOIN as infrastructure for the next generation of global digital payments and real-world asset settlement.

1. Introduction & Motivation

The global financial system remains fundamentally inefficient: cross-border settlement takes 1–5 business days, intermediaries extract 2–7% in transaction fees, clearing houses introduce systemic counterparty risk, and approximately 1.7 billion adults worldwide remain unbanked or underbanked. These are not marginal inefficiencies — they represent trillions of dollars in annual friction cost and a structural exclusion of a large fraction of humanity from basic financial services.

Existing blockchain solutions address parts of this problem while creating others. Bitcoin provides robust decentralised monetary properties but limited programmability and slow settlement relative to institutional requirements. Proof-of-Stake chains improve throughput but concentrate power among large token holders, introduce governance capture risk, and sacrifice the physical security anchor that Proof-of-Work mining provides. Smart contract platforms such as Ethereum enable programmability but expand the attack surface significantly — billions of dollars have been lost to smart contract vulnerabilities since 2016.

BERACOIN is designed to occupy a distinct and well-defined position: a Proof-of-Work chain with Bitcoin-grade monetary properties, native (non-EVM) asset issuance that does not require smart contract execution for basic tokenisation, institutional-grade on-chain governance, and an optional programmability layer via BeraVM that can be adopted without compromising the base layer. The protocol is designed with a 25-year time horizon, consistent with the long-term nature of sound monetary and settlement infrastructure.

1.1 Design Principles

  • Sound Money First: Fixed 42,000,000 BERA supply, mathematically derived emission schedule, no lump-sum pre-mine, no inflation beyond the predetermined halving schedule, hard cap enforced at consensus level.
  • Decentralised Mining: Argon2id memory-hard layer (256 MB) ensures commodity hardware — CPUs and GPUs — remains competitive against dedicated ASICs indefinitely, preserving the decentralisation of block production.
  • Institutional Readiness: On-chain governance, multisig treasury, annual independent security audits, and compliance tooling are designed in from genesis rather than retrofitted.
  • Progressive Complexity: Native BERA payments and BRA-20/721 asset issuance function without smart contracts. BeraVM programmability layers in optionally without imposing EVM complexity on basic payment use cases.
  • Long-Tail Sustainability: Transaction fee revenue is designed to replace block subsidy revenue over the 25-year emission tail. The Ecosystem Treasury receives 12% of all block rewards to fund ongoing protocol development without reliance on external capital.

1.2 Comparison with Existing Protocols

  • vs Bitcoin: BERACOIN adds ASIC-resistant mining (Argon2id), native asset tokenisation (BRA-20/721), on-chain governance, and a faster 150-second block time. Bitcoin's monetary properties are preserved — fixed supply, halving schedule, UTXO model, Schnorr multisig.
  • vs Ethereum: BERACOIN uses Proof-of-Work (not Proof-of-Stake), avoids the EVM's complexity and attack surface, and provides a mathematically constrained supply with no inflation beyond the schedule. BeraVM (Phase 8) provides programmability for those who need it.
  • vs Litecoin: BERACOIN replaces SHA-256 / Scrypt with the two-stage SHA-256d + Argon2id hybrid. BERACOIN adds governance, native tokenisation, and institutional infrastructure that Litecoin lacks.

2. Protocol Overview

BERACOIN is a Layer-1 blockchain using an Unspent Transaction Output (UTXO) transaction model. Block production occurs approximately every 150 seconds via Proof-of-Work mining using the BERAHash function. The LWMA-3 difficulty algorithm adjusts per-block to maintain the 150-second target interval. Transaction finality is probabilistic: 6 confirmations (~15 minutes) represents institutional settlement confidence equivalent to Bitcoin's 1-hour standard relative to hashrate.

The chain is bootstrapped from a genesis block whose coinbase transaction embeds a publicly verifiable timestamp string, preventing any pre-mining of coins before the official launch date. All supply allocation percentages are enforced by consensus rules — no governance vote can change the hard cap or emission schedule without a full chain fork.

2.1 Block Structure

  • Header (88 bytes): Version (4), PrevBlockHash (32), MerkleRoot (32), Timestamp (4), nBits/Target (4), Nonce (4), ExtendedNonce (8)
  • Body: Coinbase transaction (with split outputs to miner + Treasury + Node Reserve + Dev + Foundation addresses) followed by an ordered list of confirmed transactions sorted by fee rate
  • Block Size: 4 MB default limit. Configurable via governance supermajority (60% YES, 40% quorum). SegWit-equivalent witness discount planned for Phase 3.
  • Serialisation: Little-endian binary, structurally compatible with Bitcoin Core wire format, with BERACOIN-specific extensions for asset metadata and governance data.

2.2 UTXO Model

Every unspent coin in the BERACOIN system is represented as a UTXO — an output from a prior transaction that has not yet been spent. Transactions consume one or more UTXOs as inputs and create one or more new UTXOs as outputs. Transaction fees are the arithmetic difference between the sum of input values and the sum of output values. This model provides strong double-spend resistance, natural parallelism for transaction validation, and a clean mental model for institutional accounting of assets.

3. Consensus Mechanism

BERACOIN uses a two-stage hybrid Proof-of-Work function designated BERAHash. The two-stage design is motivated by a specific goal: maintain compatibility with the SHA-256 mining ecosystem at Stage 1 (enabling use of existing infrastructure, benchmarks, and tooling), while imposing a memory-hard constraint at Stage 2 that renders ASIC domination economically unviable at any practical chip density.

3.1 BERAHash — Stage 1: SHA-256d

Stage 1 applies double SHA-256 to the 88-byte serialised block header including the 64-bit extended nonce. This is identical to Bitcoin's Proof-of-Work hash function. The output is a 32-byte hash value. This stage is fully deterministic, fast, and compatible with GPU and FPGA acceleration used in the broader SHA-256 ecosystem.

Stage 1: SHA-256d
fn sha256d(header: &[u8; 88]) -> [u8; 32] {
  let round1 = sha256(header);
  sha256(&round1) // double hash output
}

3.2 BERAHash — Stage 2: Argon2id

The 32-byte Stage 1 output is used as the password input to Argon2id — the winner of the 2015 Password Hashing Competition and the recommended algorithm in NIST SP 800-63B. Argon2id is a hybrid of Argon2i (data-independent memory access, side-channel resistant) and Argon2d (data-dependent memory access, GPU-resistant). The "id" variant is optimal for ASIC resistance: it requires sequential memory access patterns that cannot be parallelised cheaply on custom silicon.

Mainnet parameters — m_cost: 262,144 KB (256 MB); t_cost: 2 iterations; p_cost: 1 lane; tag_len: 32 bytes. At these parameters, implementing 1,000 parallel hashing units on an ASIC would require 256 GB of on-die SRAM — commercially unviable at any projected SRAM density curve through 2040. A consumer NVIDIA RTX 4090 (24 GB VRAM) can execute approximately 3 parallel Argon2id instances at mainnet parameters, making GPU mining competitive on a per-dollar basis with any conceivable ASIC.

3.3 LWMA-3 Difficulty Retargeting

BERACOIN uses the Linearly Weighted Moving Average v3 (LWMA-3) difficulty algorithm, operating over a 45-block window with a 150-second block time target. LWMA-3 was developed by Zawy (James Lovejoy, MIT) and has been deployed successfully in Raptoreum, Monero's emergency fallback, and several other production PoW chains.

The algorithm assigns linearly increasing weight to more recent blocks, enabling rapid response to hashrate changes while dampening oscillation artifacts. The formula is: next_target = Σ(target[i] × solve_time[i] × i) × T / k, where k = N×(N+1)×T/2 = 155,250, N=45, T=150. Solve times are clamped at 6×T to prevent timestamp manipulation attacks. The result is clamped to no more than 4× the previous target, preventing catastrophic difficulty collapse after sudden hashrate drops.

4. Tokenomics & Emission Schedule

The BERA token supply is strictly capped at 42,000,000 — enforced at the consensus layer. This cap is not a governance parameter; it is hardcoded in the coinbase subsidy function and cannot be changed without a hard fork of the entire network.

4.1 Initial Block Reward Derivation

The initial block reward of 20 BERA is not arbitrary. It is derived mathematically from the supply cap and the block time target:

  • Blocks per year: 31,536,000 ÷ 150 = 210,240
  • Blocks per 5-year halving era: 210,240 × 5 = 1,051,200
  • Sum of the infinite halving series: 1 + ½ + ¼ + ... = 2
  • Supply equation: R × 1,051,200 × 2 = 42,000,000 → R = 19.98 ≈ 20 BERA

4.2 Protocol Reward Split

Each 20 BERA block reward is automatically allocated by the consensus rules: 13.38 BERA (67%) to the miner's coinbase output; 2.40 BERA (12%) to the Ecosystem Treasury multisig address; 2.00 BERA (10%) to the Node Reserve address; 1.40 BERA (7%) to the Development Reserve address; 0.80 BERA (4%) to the Foundation address. These allocation addresses and their percentages are governance-parameters that can only be modified with a 60% YES vote and 40% quorum — the highest governance threshold in the protocol.

4.3 Halving Schedule

  • Era 1 (Years 0–5, blocks 0–1,051,200): 20 BERA/block → 21,024,000 BERA mined (50.1% of cap)
  • Era 2 (Years 5–10): 10 BERA/block → 10,512,000 BERA mined (75.1% cumulative)
  • Era 3 (Years 10–15): 5 BERA/block → 5,256,000 BERA mined (87.6% cumulative)
  • Era 4 (Years 15–20): 2.5 BERA/block → 2,628,000 BERA mined (93.9% cumulative)
  • Era 5+ (Years 20+): ≤1.25 BERA/block → converges asymptotically to 42,000,000

5. Network Architecture

BERACOIN's peer-to-peer network is built on libp2p with Noise protocol encryption for all connections. The transport layer supports TCP/IP with QUIC as an optional upgrade for lower-latency connections in high-throughput scenarios. All connections are authenticated with node identity keys derived from secp256k1 key pairs.

5.1 Peer Discovery

Initial peer discovery uses a Kademlia DHT for decentralised, censorship-resistant peer routing. Foundation-operated DNS seed nodes provide bootstrap connectivity for new nodes joining the network. mDNS is used for local network discovery in testnet and development configurations. Peer reputation scoring deprioritises nodes that repeatedly serve invalid blocks or transactions.

5.2 Block and Transaction Propagation

The GossipSub protocol handles block and transaction propagation. Compact block relay (analogous to Bitcoin's BIP 152) reduces propagation bandwidth by approximately 95% for well-connected peers by sending only transaction IDs in the initial announcement. Full transactions are requested only for those not already in the recipient's mempool. Target propagation latency for a new block to reach 90% of nodes: under 2 seconds.

5.3 Node Types

  • Full Nodes: Download and independently validate every block since genesis. Enforce all consensus rules. Required for validators. No bond required.
  • Validator Nodes: Full nodes with a locked bond of 10,000 BERA. Earn a share of transaction fees. Vote on governance proposals. Subject to slashing for downtime or misbehavior.
  • Light Nodes: Download block headers only (80 bytes each). Verify transactions via Merkle proof inclusion. Suitable for mobile wallets and resource-constrained environments.
  • Archive Nodes: Store complete historical chain state for every block height. Required for block explorers, analytics platforms, and advanced API services.

6. Transaction Model

BERACOIN uses the UTXO model for all base-layer BERA transfers. Each transaction references one or more UTXOs as inputs (authorised by digital signatures) and creates one or more new UTXOs as outputs. The transaction fee is the surplus between input and output values, awarded to the miner in the coinbase transaction.

6.1 Transaction Types

  • P2PK (Pay-to-Public-Key): Classic payment to a secp256k1 public key. Schnorr signatures supported for single-key and multisig outputs (BIP340).
  • P2PKH (Pay-to-Public-Key-Hash): Standard BERA address payment. Compatible with all BIP32/BIP44 HD wallet implementations.
  • P2SH (Pay-to-Script-Hash): Enables multisig, time-locks, and other spending conditions. Used for validator bonds and Treasury outputs.
  • OP_RETURN (Asset Metadata): 80-byte data carrier for BRA-20/721 asset registration and transfer metadata. Does not create spendable UTXOs.

6.2 Fee Market

Transaction fees are determined by a free market: users set fee rates (BERA per virtual byte), and miners include transactions in order of descending fee rate. The mempool enforces a maximum size of 300 MB; transactions below a minimum relay fee rate are rejected. Fee estimation APIs provide real-time suggested fee rates for fast (next block), standard (within 3 blocks), and economy (within 6 blocks) confirmation targets.

7. Governance Framework

BERACOIN's on-chain governance system is designed to evolve from Foundation-led development toward full community control as the validator set grows and the network matures. Governance activates at Phase 6 (approximately Month 8 of the development roadmap).

7.1 Proposal Lifecycle

  • Submission: Any validator with an active 10,000 BERA bond may submit a proposal with a 500 BERA deposit. Deposit is refunded if the proposal passes or achieves quorum, burned if it fails to reach quorum.
  • Deliberation (7 days): Public discussion period. No binding votes. Community signals intent on the BERACOIN Forum and Discord.
  • On-Chain Vote (5 days): Votes cast on-chain, weighted by locked BERA balance. Three options: YES, NO, ABSTAIN. Quorum: 30% of eligible voting power must participate.
  • Timelock (48 hours): Passed proposals (>50% YES, quorum met) enter a 48-hour safety timelock before execution. This allows the Security Council to veto malicious proposals before they execute.
  • Execution: Automatic on-chain execution via governance module. All executions are publicly auditable via transaction IDs.

7.2 Slashing Conditions

  • Downtime (>12 hours continuous): 1% slash of bond
  • Equivocation (double-signing): 10% slash of bond
  • Byzantine behaviour (provably malicious): Up to 100% slash of bond
  • Governance manipulation: 5% slash + 30-day suspension from voting

All slashed funds are transferred to the Ecosystem Treasury. Slashing conditions and amounts are themselves governance parameters and can be modified via a supermajority vote.

8. Asset Tokenisation Layer

BERACOIN's native asset layer enables fungible and non-fungible token issuance without requiring smart contract execution. BRA-20 and BRA-721 assets are first-class protocol citizens: the node software tracks asset balances natively alongside BERA, and asset UTXOs carry identical security guarantees to base-layer BERA UTXOs.

8.1 BRA-20: Fungible Tokens

BRA-20 tokens are registered via an on-chain registration transaction containing: token name, ticker symbol, total supply, decimal precision (0–18), issuer address, and optional compliance metadata (KYC/AML flags, transfer restrictions). Subsequent transfer transactions move asset UTXOs between addresses. Burning tokens reduces circulating supply permanently.

8.2 BRA-721: Non-Fungible Assets / RWA

BRA-721 tokens represent unique assets: real estate, invoices, intellectual property, commodity lots, or art provenance records. Each token carries a content hash (SHA-256 of the off-chain asset document) anchored on-chain, providing a tamper-evident audit trail. Legal enforceability of on-chain BRA-721 ownership is jurisdiction-specific and is not guaranteed by the protocol.

8.3 Real-World Asset Tokenisation Use Cases

  • Real Estate: Property ownership fractionalised into BRA-721 tokens, enabling 24/7 trading and instant settlement versus traditional conveyancing timelines of weeks
  • Trade Finance: Export invoices tokenised as BRA-721 and used as collateral for on-chain lending facilities
  • Commodity Backing: BRA-20 stablecoins backed by audited gold, oil, or agricultural commodity reserves
  • Equity Tokens: Startup equity and revenue-share agreements represented as BRA-20 tokens with built-in transfer restrictions for regulatory compliance

9. BeraVM Smart Contracts

BeraVM is a WebAssembly (WASM)-based smart contract execution environment introduced in Phase 8 of the BERACOIN development roadmap. Contracts compiled to WASM are deployed on-chain via deployment transactions and executed deterministically by all full nodes. BeraVM is sandboxed, metered by a gas model, and isolated from the base-layer UTXO state to prevent cross-contamination between contract execution bugs and base-layer soundness.

9.1 Design Decisions

  • WASM over EVM: WebAssembly offers a larger toolchain ecosystem (Rust, C++, AssemblyScript), formal verification support, and native-speed execution. The EVM's stack-based design introduces complexity that has historically contributed to security vulnerabilities.
  • Rust SDK: The primary smart contract language is Rust, providing memory safety guarantees at compile time. Contract developers can use the full Rust type system for correctness.
  • Gas Model: Inspired by Ethereum's EIP-1559 but tailored for WASM instruction costs. Gas prices are denominated in BERA. A portion of gas fees is burned, creating a deflationary pressure on circulating supply over time.
  • Formal Verification: BeraVM contracts can be formally verified using Rust's Kani verifier and the BERACOIN formal specification, enabling audit-grade security from deployment.

10. Cross-Chain Interoperability

Phase 9 of the BERACOIN roadmap introduces three cross-chain bridges, enabling BERA and BRA-20/721 assets to move between blockchain ecosystems:

10.1 Ethereum Bridge

WBERA (Wrapped BERA) is an ERC-20 token on Ethereum representing BERA locked in the BERACOIN bridge contract. A decentralised relayer network of bonded operators maintains the 1:1 peg. Relayers post BERA bonds slashable for misbehavior, providing cryptoeconomic security without trusted intermediaries. The bridge supports both BERA ↔ WBERA and BRA-20 ↔ ERC-20 conversions.

10.2 Bitcoin Bridge

Hash Time-Locked Contracts (HTLCs) enable trustless BTC ↔ BERA atomic swaps without a custodian. A user locks BTC in an HTLC on the Bitcoin network; the corresponding BERA is released on BERACOIN upon presentation of the hash preimage. Settlement occurs in approximately 30 minutes including both chain confirmation times.

10.3 Cosmos IBC

An IBC (Inter-Blockchain Communication) compatibility module enables BERA to participate in the Cosmos ecosystem's network of interconnected chains. BERA becomes transferable to any IBC-compatible chain (Osmosis, Cosmos Hub, Juno, etc.) using the standard IBC token transfer protocol, accessing DeFi liquidity and user bases without centralised intermediaries.

11. Security Analysis

The primary security assumptions of BERACOIN are: (1) honest majority of hashrate controls block production at the PoW layer; (2) honest majority of bonded stake participates in the validator and governance set; and (3) the cryptographic primitives — secp256k1, SHA-256, and Argon2id — are computationally secure.

11.1 51% Attack Analysis

A 51% attack on BERACOIN requires an attacker to control the majority of the BERAHash hashrate. The Argon2id Stage 2 raises the hardware cost of this attack by approximately two orders of magnitude compared to a pure SHA-256 chain of equivalent market capitalisation. At 256 MB per hash, purpose-built attack hardware must include equivalent memory alongside compute, dramatically increasing both capital expenditure and operational cost.

11.2 Double-Spend Protection

The UTXO model ensures every coin unit has an unambiguous ownership provenance traceable to its coinbase origin. Double-spend requires a successful chain reorganisation of at least the required confirmation depth. For institutional settlement (6 confirmations, ~15 minutes), a successful reorg requires sustaining more than 50% of network hashrate for the reorg duration — economically irrational at any significant network value.

11.3 Planned Security Audit Schedule

  • Phase 11 (pre-mainnet): Two independent security audits covering consensus engine, cryptographic primitives, wallet implementation, smart contract layer, and bridge contracts
  • Annual post-mainnet audits by a rotating panel of firms
  • Continuous bug bounty program on Immunefi with tiered rewards: Critical (>$50,000 BERA equivalent), High (>$10,000), Medium (>$2,000), Low (>$500)

12. Performance & Benchmarks

The following performance targets guide BERACOIN's engineering roadmap. Actual mainnet performance will be published post-launch:

  • Block time: 150 seconds target; LWMA-3 maintains within ±5% average over any 45-block window
  • Transactions per second (theoretical): ~100 TPS at 4 MB block size with 250-byte average transaction size
  • Block propagation to 90% of nodes: Target <2 seconds with compact block relay
  • UTXO set size (projected at 5 years): ~500 MB in memory; RocksDB storage ~2 GB
  • BERAHash validation time (full node, single core): ~8ms per block header (dominated by Argon2id)
  • New node sync from genesis: Target <4 hours with fast-sync (headers-first then UTXO snapshot)

13. Development Roadmap

BERACOIN development proceeds across 15 phases (P_00 through P_14) with an estimated mainnet launch 17–18 months from project inception. Current status: Phase 2 Testnet registration is open.

  • P_00–P_01 (Active): Whitepaper, branding, legal, SHA-256d + Argon2id consensus, LWMA-3 difficulty
  • P_02 (Now): Rust core, P2P networking, HD wallet, public testnet with full Argon2id pipeline
  • P_03–P_05: Browser + mobile wallet, block explorer + REST/GraphQL API, Stratum v2 mining protocol
  • P_06–P_07: On-chain governance, BRA-20/721 asset tokenisation standards
  • P_08–P_09: BeraVM smart contracts, Ethereum + Bitcoin + Cosmos bridges
  • P_10–P_11: Node ecosystem, two independent security audits, bug bounty on Immunefi
  • P_12–P_13: Pre-mainnet testnet, genesis ceremony, mainnet launch
  • P_14+: Tier-3 → Tier-1 exchange listings, RWA partnerships, developer grants

14. Foundation & Team

The BERACOIN Foundation is a non-profit entity being incorporated in a crypto-friendly jurisdiction (Switzerland, Singapore, or Cayman Islands — final selection pending legal counsel review). The Foundation receives 4% of all block rewards continuously, amounting to 1,680,000 BERA over the full emission schedule. All Foundation expenditures above 10,000 BERA require a public governance vote.

The core development team consists of protocol engineers, cryptographers, and blockchain infrastructure specialists with prior experience at established blockchain projects and financial technology firms. Full team disclosure will accompany the mainnet launch announcement in compliance with Foundation transparency commitments.

The Foundation maintains a commitment to open-source development: all protocol code, tooling, and documentation are published under the MIT License. Community contributions are welcomed via the BERACOIN GitHub repository and are governed by the Contributor License Agreement (CLA).

Legal Disclaimer

This whitepaper is published for informational purposes only and does not constitute financial, legal, investment, or tax advice. BERA tokens are utility tokens that provide access to the BERACOIN network and governance rights; they are not registered securities in any jurisdiction. Nothing in this document should be construed as a solicitation or offer to buy or sell any security or financial instrument.

Participation in the BERACOIN network or acquisition of BERA tokens involves significant risks, including but not limited to: total loss of funds, regulatory risk, technical vulnerabilities, market volatility, and uncertainty regarding the regulatory treatment of digital assets in various jurisdictions. Prospective participants should conduct their own due diligence and consult qualified legal, financial, and tax advisors before engaging with BERACOIN or BERA tokens.

TBERA (testnet tokens) have zero monetary value. The BERACOIN Foundation makes no representations or warranties, express or implied, regarding the accuracy, completeness, or suitability of the information contained herein. This document may be updated without notice as the protocol evolves. The most current version is always available at beracoin.io/whitepaper.

© 2024 BERACOIN Foundation. All rights reserved. Reproduction or distribution of this document requires written permission from the BERACOIN Foundation.

Nodes

Run a BERACOIN Node

Full nodes, validator nodes, light nodes. Secure the network, earn fees, and govern.

Full Node

Complete Validation

Independently validates every block since genesis. No trust in any third party. Maximum sovereignty.

CPU4+ cores x86_64
RAM8 GB minimum
SSD500 GB NVMe
Uplink50 Mbps
BondNone required
Validator Node

Governance + Fee Income

Full node + 10,000 BERA bond. Earns tx fee share. Votes on governance. Subject to slashing for downtime or misbehaviour.

CPU8+ cores
RAM16 GB recommended
Uptime SLA99.5%
Bond10,000 BERA
Light Node

SPV Verification

Headers only. Merkle proof tx verification. Mobile wallets and embedded devices.

RAM512 MB
Storage1 GB
BondNone
Docker Quick Start
# Pull and run testnet node
docker pull beracoin/berad:testnet-v2
docker run -d --name bera-node \
  -p 19433:19433 -p 19432:19432 \
  -e NETWORK=testnet \
  beracoin/berad:testnet-v2

# Check sync progress
docker exec bera-node beractl getblockchaininfo

# Get a fresh address
docker exec bera-node beractl getnewaddress

# Validator registration (Phase 6+)
beractl validator register --bond 10000
Mining

Mine BERACOIN

ASIC-resistant SHA-256d + Argon2id hybrid PoW. CPU and GPU mining viable. 13.38 BERA to miner per block (Era 1).

Algorithm

SHA-256d + Argon2id

Stage 1 is GPU-optimised SHA-256d. Stage 2 Argon2id at 256 MB prevents ASIC domination. An RTX 4090 runs ~3 parallel mainnet instances — fully competitive with any conceivable ASIC on $/hash.

Why ASICs Cannot Win
256 MB per Argon2id instance × 1,000 parallel ASIC cores = 256 GB of on-die SRAM required. Not commercially viable through at least 2040 at any projected SRAM density. GPU mining wins.
💻
CPU Mining
Any 4-core, 512 MB+ RAM
🎮
GPU Mining
CUDA + OpenCL, 8 GB+ VRAM
🚫
ASIC
Economically unviable
Profitability Estimator
BERA per day
Gross revenue/day
Power cost/day
Net profit/day
Stratum Connection — Testnet
# CPU miner
./bera-miner \
  --pool stratum+tcp://test-pool.beracoin.io:3333 \
  --user YOUR_ADDRESS.cpu01 --threads 8 --testnet

# GPU miner (CUDA)
./bera-miner-cuda \
  --pool stratum+tcp://test-pool.beracoin.io:3334 \
  --user YOUR_ADDRESS.gpu01 --gpu 0 --testnet

# Check mining info
beractl getmininginfo
# Returns: difficulty, networkhashps, reward, blocks
Foundation

BERACOIN Foundation

Non-profit steward of the BERACOIN protocol — open-source development, ecosystem grants, legal compliance.

Mission

To develop and grow BERACOIN as open-source public infrastructure for global payments and real-world asset settlement — governed by its community, not its founders.

Treasury Model

Foundation receives 4% of all block rewards continuously — 1,680,000 BERA over the full emission schedule. All expenditures above 10,000 BERA require a public governance vote. Treasury address is publicly auditable on-chain at all times.

AreaDescriptionBudget Guidance
Protocol DevelopmentCore engineering, security audits, tooling40% of Foundation allocation
Ecosystem GrantsDeveloper grants, hackathons, integrations25% of Foundation allocation
Legal & ComplianceRegulatory counsel, exchange licensing, KYC15% of Foundation allocation
Community & MarketingEducation, conferences, partnerships15% of Foundation allocation
Operational Reserve18-month runway maintained at all times5% of Foundation allocation
Jurisdiction & Formation
BERACOIN Foundation is being incorporated in Switzerland (Zug "Crypto Valley"), Singapore, or Cayman Islands. Final selection pending legal counsel review. Formation is a Phase 0 deliverable required before any public token distribution or fundraising activity. Contact: foundation@beracoin.io
Investors

Institutional Investors

Sound monetary policy, independent audits, and on-chain governance designed from day one for institutional adoption.

🏦

Sound Monetary Policy

42,000,000 BERA hard cap. Mathematical emission schedule. No central bank or discretionary inflation. Deflationary by design — 50% of supply mined in the first 5 years, tail emission beyond year 20.

🔒

Audited Infrastructure

Two independent security audits pre-mainnet (Phase 11). Annual audits post-launch. Open-source code. Formal verification tooling for critical consensus components. Bug bounty on Immunefi.

🗳

On-Chain Governance Rights

Institutional validators with 10,000+ BERA bonds earn proportional transaction fee revenue and binding on-chain governance voting rights from mainnet genesis.

🌍

Real-World Asset Upside

BRA-20/721 asset tokenisation positions BERACOIN to capture a share of the estimated $16 trillion global real-world asset tokenisation market projected by BlackRock and Boston Consulting Group by 2030.

No VC Cliff Risk

All non-mining allocations vest continuously via the protocol reward split — no large VC or insider unlocks to suppress price. Every BERA in circulation is earned via block reward at the same schedule.

📋

Regulatory Readiness

Legal entity formation and securities law analysis (Howey Test) completed in Phase 0. Compliance tooling, KYC/AML policy, and legal opinion letters prepared ahead of exchange listings.

Request Investor Materials
Institutional investors, family offices, hedge funds, and strategic partners: email investors@beracoin.io with subject "BERACOIN Investor Inquiry". Full materials (financial model, legal opinions, tokenomics deep-dive, team deck) are available under NDA within 48 hours.
Exchange Listings

Trading BERA

Exchange listing strategy, timeline, and requirements for market makers and exchange partners.

TierTarget ExchangesEst. TimelineKey Requirements
Tier 3MEXC, Gate.io, BitMart, LBankMonth 18–20Mainnet live, AML policy, market maker on board
Tier 2KuCoin, Bitget, Bybit, OKXMonth 20–26$5M+ daily volume, full audit, legal opinion
Tier 1Coinbase, Binance, KrakenMonth 28+$50M+ market cap, full regulatory compliance
DEXUniswap v3 (WBERA), OsmosisPhase 9Ethereum bridge live, sufficient LP depth
Exchange Partnership Enquiries
Exchanges interested in listing BERA pre-launch: contact listings@beracoin.io. We offer technical integration support, market making coordination, and co-marketing commitments for launch partners.
Asset Tokenisation

Real-World Asset Tokenisation

Issue any real-world asset natively on BERACOIN via BRA-20 and BRA-721 standards — no EVM, no smart contract attack surface.

BRA-20

Fungible Tokens

Stablecoins, tokenised commodities, equity tokens, utility tokens. Fixed or variable supply with optional transfer restrictions and compliance metadata baked in natively at protocol level.

BRA-721

Non-Fungible Assets

Real estate, invoice financing, art provenance, IP rights. Each token carries a SHA-256 content hash of the off-chain asset document anchored on-chain — tamper-evident audit trail.

BRA-1155

Multi-Asset

Hybrid fungible/non-fungible. Batch transfers in a single transaction. Supply chain tokenisation and fractional ownership structures. Scheduled for Phase 7.

Use Case: Real Estate

Property ownership fractionalised into BRA-721 tokens. Enables 24/7 peer-to-peer trading and near-instant settlement versus traditional conveyancing timelines of weeks. Rental income distributed automatically via BRA-20 dividend tokens.

Use Case: Trade Finance

Export invoices tokenised as BRA-721 assets and used as on-chain collateral for working capital facilities. Eliminates the 90-day payment terms that strangle small exporters in emerging markets.

Use Case: Commodity Backing

BRA-20 stablecoins backed by audited gold, oil, or agricultural commodity reserves. On-chain proof-of-reserves via BRA-721 vault certificates updated on every audit cycle.

Use Case: Equity Tokens

Startup equity and revenue-share agreements represented as BRA-20 tokens with built-in transfer restrictions for accredited investor compliance. Cap table management on-chain.

Native Protocol — Not Smart Contracts
Unlike ERC-20 on Ethereum, BRA-20/721 assets are first-class protocol citizens. The BERACOIN full node tracks asset balances natively — no Solidity bytecode, no EVM re-entrancy bugs, no gas price auctions. Asset UTXOs carry identical double-spend protection to base-layer BERA.