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.
Network details
Settings for wallets and tools.
| Setting | Value |
|---|---|
| Network name | ALBCHAIN Testnet |
| Chain ID | 47830 (hex 0xbad6) |
| Currency symbol | ALB (18 decimals) |
| RPC URL | https://rpc.albchain.space |
| Block explorer | https://explorer.albchain.space |
| Faucet | https://faucet.albchain.space |
| Genesis file | https://albchain.space/genesis.json |
| Status | https://albchain.space/status |
Testnet parameters
| Parameter | Value |
|---|---|
| Block time | About 1.2 seconds |
| Block gas limit | 30,000,000 |
| Minimum base fee | 1 gwei |
| Validator minimum self-stake | 1,000 ALB |
| Active validators | Up to 100, by total stake |
| Epoch (validator set update) | 100 blocks, about 2 minutes |
| Unbonding period | 72,000 blocks, about 1 day |
| Downtime rule | Jailed if more than half of the last 3,000 blocks (about 1 hour) are missed |
| Penalties | Double signing: 5% and permanent removal. Downtime: 1% and jail for about 1 hour |
| Issuance | About 5% of supply per year, paid to stakers |
Install the wallet
ALBCHAIN Wallet for Windows 10 and 11.
- Download ALBCHAIN-Wallet-0.2.0-win-x64.zip (45 MB).
- Right-click the zip → Extract All. Put the folder somewhere permanent, for example
C:\ALBCHAIN Wallet, not in Downloads. - Open the folder and double-click Install shortcuts.cmd. This adds ALBCHAIN Wallet to your Desktop and Start menu.
- Open ALBCHAIN Wallet from the Desktop.
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
- Click Create a new wallet and choose a password of at least 8 characters.
- The app shows 12 words, your recovery phrase. Write them on paper, in order.
- Type the three words it asks for, to confirm you wrote them down.
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
- Copy your address from the wallet’s Receive box.
- Open faucet.albchain.space, paste the address and click Send me test ALB.
- 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:
0xfollowed 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
- In MetaMask: Settings → Networks → Add a network → Add a network manually.
- Enter the values from Network details: name
ALBCHAIN Testnet, RPC URLhttps://rpc.albchain.space, chain ID47830, symbolALB, explorerhttps://explorer.albchain.space. - 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.
| Delegate | Run a validator | |
|---|---|---|
| Needs a PC online 24/7 | No | Yes |
| Minimum | Any amount | 1,000 ALB of your own |
| Rewards | Share of the validator’s rewards, minus its commission | Share of block rewards plus commission from delegators |
| Risk | You share your validator’s penalties | Penalties 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
- Open the wallet’s Staking tab and look at Delegate to a validator.
- 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.
- 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
- In the wallet, open Node → Join a network. Choose the genesis file (save it first) and enter the seed address published by the team.
- Wait until the Node tab shows Running, in sync.
- Make sure you have at least 1,000 ALB plus a little for fees.
- In Staking → Validate with this PC, enter a name, a commission and your stake, then click Become a validator.
- You join the active set at the next epoch, within about 2 minutes, if your stake is in the top 100.
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 happens | Penalty | What to do |
|---|---|---|
| Your node misses more than half of the last ~1 hour of blocks | 1% of stake burned; jailed for ~1 hour | Fix the node, wait for the jail period, click Unjail |
| Your validator signs two different blocks at the same height | 5% burned; removed permanently | Cannot be undone. Register a new validator |
Node requirements
| Minimum | Recommended | |
|---|---|---|
| CPU | 2 cores | 4 cores |
| Memory | 4 GB | 8 GB |
| Disk | 50 GB SSD | 100 GB SSD |
| Network | Always-on broadband | Public IP with TCP 26656 open |
| System | Ubuntu 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
| Port | Purpose | Expose? |
|---|---|---|
| 26656/TCP | Peer-to-peer (encrypted) | Yes, to the internet |
| 8545/TCP | JSON-RPC | No: keep on 127.0.0.1; put a rate-limited proxy in front if public |
Keys and backups
| File | What it is | Back up? |
|---|---|---|
consensus_key.json | Signs your validator’s votes | Yes, offline. Never run it in two places |
priv_state.json | Last vote signed; prevents double signing after a restart | Move it together with the consensus key |
node_key.json | Network identity | Optional |
data/ | Chain database | No: it re-syncs from peers |
| Operator wallet | Owns your stake | Yes: 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.
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
| Method | Returns |
|---|---|
alb_status | Height, latest block, consensus round and step, mempool size, next base fee |
alb_validators | Every validator: stake, commission, status, missed blocks, consensus key |
alb_activeSet | Active validators and voting power |
alb_delegations(address) | Delegations of an address |
alb_unbonding(address) | Pending withdrawals and their release block |
alb_stakingParams | Current 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_getLogsranges 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.
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
| Problem | Fix |
|---|---|
| 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 balance | Check the network is ALBCHAIN Testnet with chain ID 47830; reset the account under Settings → Advanced if needed. |
Glossary
| Validator | A node that proposes and signs blocks, backed by staked ALB. |
| Delegator | Someone who stakes ALB with a validator without running a node. |
| Stake | ALB locked to secure the network; it earns rewards and can be penalised. |
| Commission | The share of delegators’ rewards a validator keeps. |
| Epoch | The interval (100 blocks) at which the active validator set is updated. |
| Unbonding | The waiting period before withdrawn stake becomes spendable. |
| Slashing | Burning part of a validator’s stake as a penalty. |
| Jail | A temporary removal from the active set after downtime. |
| Finality | The point after which a block can never be reversed. |
| Consensus key | The key a node uses to sign votes; separate from the wallet holding the stake. |
| Gas | The unit measuring the work a transaction needs; fees are gas × price. |
ALBCHAIN · Independent project · Software in testing, not audited