ALBCHAIN Documentation

Everything you need to use, stake on, run and build on ALBCHAIN.

Overview

What ALBCHAIN is, in one minute.

ALBCHAIN is a proof-of-stake blockchain that runs the Ethereum Virtual Machine (EVM). Anything built for Ethereum (MetaMask, Solidity contracts, Hardhat, Foundry, ethers.js) works on ALBCHAIN without changes.

  • ALB is the native coin. It pays transaction fees, is staked to secure the network, and is used for governance votes.
  • Blocks are final in about one second. Once validators holding more than two-thirds of the stake sign a block, it can never be reversed.
  • There is no mining. New ALB is earned by staking. A home PC can be a validator.
  • Fees follow EIP-1559: a base fee that is burned, plus a small tip for the validator who built the block.
This is a testnet.Test ALB has no value and the network may be reset. The software has not been audited. Never send real funds to an address because a testnet page told you to.

Network details

Settings for wallets and tools.

SettingValue
Network nameALBCHAIN Testnet
Chain ID47830 (hex 0xbad6)
Currency symbolALB (18 decimals)
RPC URLhttps://rpc.albchain.space
Block explorerhttps://explorer.albchain.space
Faucethttps://faucet.albchain.space
Genesis filehttps://albchain.space/genesis.json
Statushttps://albchain.space/status

Testnet parameters

ParameterValue
Block timeAbout 1.2 seconds
Block gas limit30,000,000
Minimum base fee1 gwei
Validator minimum self-stake1,000 ALB
Active validatorsUp to 100, by total stake
Epoch (validator set update)100 blocks, about 2 minutes
Unbonding period72,000 blocks, about 1 day
Downtime ruleJailed if more than half of the last 3,000 blocks (about 1 hour) are missed
PenaltiesDouble signing: 5% and permanent removal. Downtime: 1% and jail for about 1 hour
IssuanceAbout 5% of supply per year, paid to stakers

Install the wallet

ALBCHAIN Wallet for Windows 10 and 11.

  1. Download ALBCHAIN-Wallet-0.2.0-win-x64.zip (45 MB).
  2. Right-click the zip → Extract All. Put the folder somewhere permanent, for example C:\ALBCHAIN Wallet, not in Downloads.
  3. Open the folder and double-click Install shortcuts.cmd. This adds ALBCHAIN Wallet to your Desktop and Start menu.
  4. Open ALBCHAIN Wallet from the Desktop.
Windows warning?Windows may say the file came from the internet. The wallet is not yet code-signed. Click More info → Run anyway only if you downloaded it from albchain.space.

Nothing else needs installing: the wallet includes its own runtime. Your wallet data lives in %APPDATA%\ALBCHAIN, outside the program folder, so you can replace the folder with a newer version without losing anything.

Create or import a wallet

New wallet

  1. Click Create a new wallet and choose a password of at least 8 characters.
  2. The app shows 12 words, your recovery phrase. Write them on paper, in order.
  3. Type the three words it asks for, to confirm you wrote them down.
Your 12 words are your money.Anyone with them can take your ALB. Never type them into a website, never send them to anyone, and never photograph them. ALBCHAIN support will never ask for them.

Import an existing wallet

Choose I already have a wallet and enter your 12 or 24-word phrase or a private key. The same phrase gives the same address as MetaMask, so you can use both.

Locking and passwords

  • The wallet locks itself after 15 minutes without use. Your node keeps running while it is locked.
  • The password only unlocks the wallet on this PC. It cannot recover a lost phrase.
  • Forgot the password? Quit the app, delete %APPDATA%\ALBCHAIN\wallet.json, open the app and import your 12 words again.

Get test ALB

  1. Copy your address from the wallet’s Receive box.
  2. Open faucet.albchain.space, paste the address and click Send me test ALB.
  3. 2,000 test ALB arrives in about a second.

Each address and each internet connection can request once every 24 hours. Need more for testing a validator? Ask in the community channel.

Send and receive

  • Receive: share the address shown under Receive. ALBCHAIN addresses look like Ethereum addresses: 0x followed by 40 characters.
  • Send: enter the address and amount in Send ALB and confirm. Transfers are final in about one second and cannot be reversed.
  • Fees: a simple transfer costs about 0.00004 ALB. Max leaves a little ALB for the fee.
  • History: the Activity list shows transfers and staking actions. Click through to the explorer for details.

Use MetaMask

  1. In MetaMask: Settings → Networks → Add a network → Add a network manually.
  2. Enter the values from Network details: name ALBCHAIN Testnet, RPC URL https://rpc.albchain.space, chain ID 47830, symbol ALB, explorer https://explorer.albchain.space.
  3. Save and switch to the network.

To use the same account as the ALBCHAIN Wallet, import the same 12 words into MetaMask. You can send ALB with MetaMask, but staking is easiest in the ALBCHAIN Wallet.

How staking works

ALBCHAIN’s equivalent of mining.

Validators run nodes that propose and sign blocks. In return, every block creates new ALB (about 5% of supply per year in total) which is shared among the validators that signed, in proportion to their stake. Validators keep a commission (for example 10%) from the rewards earned by ALB delegated to them; the rest goes to the delegators.

DelegateRun a validator
Needs a PC online 24/7NoYes
MinimumAny amount1,000 ALB of your own
RewardsShare of the validator’s rewards, minus its commissionShare of block rewards plus commission from delegators
RiskYou share your validator’s penaltiesPenalties for downtime or double signing

Yield: the same yearly issuance is shared by everyone who stakes. When little ALB is staked the yield is very high; as more ALB is staked it falls. The wallet’s Staking tab shows the current estimate.

Rewards are added to your stake automatically (compounding). There is nothing to claim.

Delegate

  1. Open the wallet’s Staking tab and look at Delegate to a validator.
  2. Pick a validator. Prefer ones that are Active, have few missed blocks and a reasonable commission. Spreading stake across smaller validators makes the network stronger.
  3. Click Delegate, enter the amount and confirm.

Your delegation appears under Your stake and starts earning from the next block.

Withdraw (unbonding)

Click Undelegate next to a delegation and enter an amount. The ALB enters a 1-day unbonding period, shown under Your stake with the block when it returns, and then appears in your balance automatically.

During unbonding the ALB earns nothing and can still be penalised if the validator misbehaved while you were delegated. This stops validators from cheating and leaving instantly.

Validate from your PC

  1. In the wallet, open Node → Join a network. Choose the genesis file (save it first) and enter the seed address published by the team.
  2. Wait until the Node tab shows Running, in sync.
  3. Make sure you have at least 1,000 ALB plus a little for fees.
  4. In Staking → Validate with this PC, enter a name, a commission and your stake, then click Become a validator.
  5. You join the active set at the next epoch, within about 2 minutes, if your stake is in the top 100.
Before you startKeep the PC on and awake: turn off sleep in Windows power settings. Closing the window is fine; the app keeps running in the background. Use Settings → Quit only when you mean to stop validating.

Running your own node also needs inbound connections: open TCP port 26756 (the wallet’s node port) on your router if others should connect to you. Outgoing connections alone are enough to validate.

Penalties and unjailing

What happensPenaltyWhat to do
Your node misses more than half of the last ~1 hour of blocks1% of stake burned; jailed for ~1 hourFix the node, wait for the jail period, click Unjail
Your validator signs two different blocks at the same height5% burned; removed permanentlyCannot be undone. Register a new validator
The one mistake that cannot be fixedNever run the same validator on two computers at the same time, for example by copying the app data to a second PC as a “backup” and starting it. Both would sign, which is double signing. To move a validator, stop the old one completely first.

Node requirements

MinimumRecommended
CPU2 cores4 cores
Memory4 GB8 GB
Disk50 GB SSD100 GB SSD
NetworkAlways-on broadbandPublic IP with TCP 26656 open
SystemUbuntu 22.04+/Debian 12+, or Windows 10/11

Linux server

One script installs Node.js and ALBCHAIN, creates the node’s keys, opens the firewall and starts a systemd service.

wget https://albchain.space/albchain-0.2.0-src.tar.gz
tar -xzf albchain-0.2.0-src.tar.gz albchain/scripts/setup-server.sh --strip-components=2
wget https://albchain.space/genesis.json
sudo bash setup-server.sh --role validator --source albchain-0.2.0-src.tar.gz \
  --moniker my-validator --genesis genesis.json --seeds <seed address>

Roles: validator (creates a consensus key), seed (public bootstrap node), full (plain node, e.g. behind your own RPC). The script prints your node address and, for validators, your consensus key.

systemctl status albchaind        # is it running?
journalctl -u albchaind -f        # live log
systemctl restart albchaind       # restart

Re-running the script never replaces existing keys or chain data.

Windows

The easiest way is the wallet app, which runs a node for you. For a dedicated Windows machine without the wallet, install Node.js 20 or newer, unpack the node bundle and run:

npm install --omit=dev
node bin/albchaind.js init --home C:\albnode --genesis genesis.json --validator ^
  --seeds <seed address> --external-address <your public IP>:26656
node bin/albchaind.js start --home C:\albnode

Allow TCP 26656 in Windows Firewall and on your router, and use Task Scheduler (trigger: at startup) to start it automatically.

Register a validator

Your node only holds a consensus key, which signs votes. Your stake is held by a separate operator wallet, which never needs to be on the server. Register from any computer that has your operator wallet:

node bin/albchain-cli.js create-validator my-validator 10 10000 <consensus key> \
  --key <operator key file> --rpc https://rpc.albchain.space

Arguments: name, commission in %, self-stake in ALB, and the consensus key printed by albchaind init --validator (or albchaind consensus-key --home <dir>). Check your status with:

node bin/albchain-cli.js validators --rpc https://rpc.albchain.space

To unjail after a downtime penalty: node bin/albchain-cli.js unjail --key <operator key> --rpc https://rpc.albchain.space.

Operating a node

Health check

curl -s -X POST localhost:8545 -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"alb_status","params":[]}'

Look at height (should increase every ~1 s), consensus.isActiveValidator and node.peers (should be above 0). alb_peers lists your connections.

Upgrading

Stop the node, replace the code with the new release, run npm install --omit=dev, start again. Chain data and keys are kept. Upgrades that change consensus rules are announced with a block height at which everyone must switch.

Ports

PortPurposeExpose?
26656/TCPPeer-to-peer (encrypted)Yes, to the internet
8545/TCPJSON-RPCNo: keep on 127.0.0.1; put a rate-limited proxy in front if public

Keys and backups

FileWhat it isBack up?
consensus_key.jsonSigns your validator’s votesYes, offline. Never run it in two places
priv_state.jsonLast vote signed; prevents double signing after a restartMove it together with the consensus key
node_key.jsonNetwork identityOptional
data/Chain databaseNo: it re-syncs from peers
Operator walletOwns your stakeYes: its 12 words on paper. Keep it off the server

RPC endpoints

Public endpoint: https://rpc.albchain.space (HTTPS, JSON-RPC 2.0). It supports the standard Ethereum methods: eth_chainId, eth_blockNumber, eth_getBalance, eth_call, eth_estimateGas, eth_sendRawTransaction, eth_getTransactionReceipt, eth_getLogs, eth_feeHistory, eth_getBlockByNumber and more.

import { JsonRpcProvider } from 'ethers'
const provider = new JsonRpcProvider('https://rpc.albchain.space')
console.log(await provider.getBlockNumber())

Deploy contracts

ALBCHAIN runs the EVM with Cancun rules. Compile with evmVersion: "cancun" or earlier.

Hardhat

// hardhat.config.js
module.exports = {
  solidity: { version: '0.8.30', settings: { evmVersion: 'cancun' } },
  networks: {
    albchain: { url: 'https://rpc.albchain.space', chainId: 47830, accounts: [process.env.PRIVATE_KEY] },
  },
}
// npx hardhat run scripts/deploy.js --network albchain

Foundry

forge create src/MyToken.sol:MyToken --rpc-url https://rpc.albchain.space \
  --private-key $PRIVATE_KEY --evm-version cancun --broadcast

Remix

Switch MetaMask to ALBCHAIN Testnet, then in Remix choose Injected Provider - MetaMask.

Not supported yetBlob (EIP-4844) and EIP-7702 transactions, eth_newFilter-style filters and WebSocket subscriptions. Poll with eth_getLogs instead.

Staking contract

Staking actions are normal transactions sent to the system address 0x00000000000000000000000000000000000005a7. They must come directly from a wallet (externally owned account); calls from other contracts are reverted so funds cannot get stuck.

function createValidator(string moniker, uint16 commissionBps, bytes32 consensusKey) payable
function delegate(address validator) payable
function undelegate(address validator, uint256 amount)
function unjail()
import { Contract, Wallet, JsonRpcProvider, parseEther } from 'ethers'
const wallet = new Wallet(process.env.PRIVATE_KEY, new JsonRpcProvider('https://rpc.albchain.space'))
const staking = new Contract('0x00000000000000000000000000000000000005a7',
  ['function delegate(address validator) payable'], wallet)
await (await staking.delegate('0xVALIDATOR', { value: parseEther('100') })).wait()

ALB-specific RPC methods

MethodReturns
alb_statusHeight, latest block, consensus round and step, mempool size, next base fee
alb_validatorsEvery validator: stake, commission, status, missed blocks, consensus key
alb_activeSetActive validators and voting power
alb_delegations(address)Delegations of an address
alb_unbonding(address)Pending withdrawals and their release block
alb_stakingParamsCurrent staking parameters
alb_getCommit(block)The validator signatures that finalised a block
alb_addressTxs(address, limit, offset)Transaction history of an address, newest first
alb_recentTxs(limit)Latest transactions on the chain

Public RPC limits

  • About 20 requests per second per visitor, with short bursts allowed.
  • Batches of up to 50 calls; request bodies up to 1 MB.
  • eth_getLogs ranges of up to 5,000 blocks.
  • Node-administration methods (such as alb_peers) are not available publicly.

For heavy use, run your own full node.

Ethereum bridge

The bridge will let ALB move to Ethereum as wALB (ERC-20) and back. Each mint or release needs signatures from a majority of independent signers; there is no admin key; per-transfer and hourly limits contain any compromise; and a guardian can pause it but never move funds.

Not liveThe bridge is built and tested locally but has not been deployed to a public network or audited. It will launch only after an audit (roadmap phase 5).

FAQ

Is ALB worth money?

No. Testnet ALB has no value and may be reset. Nothing on this site is an offer to sell tokens.

Can I mine ALB?

No. ALBCHAIN uses proof of stake. The equivalent of mining is staking: run a validator from your PC or delegate to one.

Is ALBCHAIN connected to the Albanian government?

No. It is an independent project, not affiliated with or endorsed by the Government of Albania or the Bank of Albania.

Do I need to keep my PC on to earn?

Only if you run a validator. Delegators earn without running anything.

What happens if I lose my 12 words?

If you still have the wallet unlocked, open Settings → Show recovery phrase and write them down now. If you lose both the phrase and access to the wallet, the funds cannot be recovered by anyone.

Why is the staking yield so high?

Because little ALB is staked yet. The yearly issuance is shared by all stakers, so the yield falls as more people stake.

Will testnet balances carry over to mainnet?

No promise is made. Any reward for testnet participants will be announced separately, after legal review.

Troubleshooting

ProblemFix
The wallet window says “Open the app from its shortcut”Close the window and start ALBCHAIN Wallet from the Desktop shortcut.
“Can’t reach the chain”Check the status page. If you run your own node, open the Node tab and start it.
Node stays “catching up”Leave it running; check the Node log and that the seed address is correct.
Faucet says “Already sent recently”Each address and connection can request once per 24 hours.
“Wrong password”See Forgot the password?
Validator shows “Jailed”Fix the node, wait until the jail block, click Unjail.
MetaMask shows a wrong balanceCheck the network is ALBCHAIN Testnet with chain ID 47830; reset the account under Settings → Advanced if needed.

Glossary

ValidatorA node that proposes and signs blocks, backed by staked ALB.
DelegatorSomeone who stakes ALB with a validator without running a node.
StakeALB locked to secure the network; it earns rewards and can be penalised.
CommissionThe share of delegators’ rewards a validator keeps.
EpochThe interval (100 blocks) at which the active validator set is updated.
UnbondingThe waiting period before withdrawn stake becomes spendable.
SlashingBurning part of a validator’s stake as a penalty.
JailA temporary removal from the active set after downtime.
FinalityThe point after which a block can never be reversed.
Consensus keyThe key a node uses to sign votes; separate from the wallet holding the stake.
GasThe unit measuring the work a transaction needs; fees are gas × price.

ALBCHAIN · Independent project · Software in testing, not audited