Janus / Protocol
Chain 36530 · proof of stake
How a block
is produced.
The execution layer stores accounts, balances, and transactions. The beacon stores the validator set and assigns the next slot. Stake chooses who may write the block. An ergon, a Keccak-256 search, can pay the finder when that block includes the answer. The duty is signed with ML-DSA-87. The coin is JANUS, symbol JAN. Chain id 36530.
Janus is a layer-one chain. There is no chain underneath it. One program stores accounts, balances, and blocks. A second program, the beacon, assigns the proposer for each slot and checks that the stored block is the one that proposer signed. The two programs have to be built from the same genesis. When they were not, this testnet stayed at block zero until that was corrected. The chain id for this testnet is 36530.
The clock
Time is divided into slots of about ten seconds. Eight slots make an epoch, so an epoch on this testnet is about eighty seconds. The epoch is short so one operator can watch a full cycle. The explorer is public. The node still does not take peers from the internet.
Each slot has one proposer, chosen by stake. The proposer builds a block and signs it. Other validators attest that they saw the same block. If the proposer is late, or the signature does not check, the slot stays empty. The next proposer does not fill it. An ergon is separate from that assignment. It is a Keccak-256 search that can be included in the block and paid there. It does not choose who writes the block.
The validator signature
Validators sign with ML-DSA-87. That is the Module-Lattice Digital Signature Algorithm at its largest parameter set. NIST published it as FIPS 204. In the competition before the standard, the scheme was called CRYSTALS-Dilithium. The number 87 is the parameter set for the highest security category in that standard. It is not a version number chosen for this project.
The sizes in the standard are:
- Public key: 2,592 bytes.
- Signature: 4,627 bytes.
A transfer on this chain is larger than a transfer on a chain with a 64-byte signature. The client is not going to compress that away. Lattice signatures are used because the hard problem under them is not the elliptic-curve problem Shor’s algorithm is written to solve. The standard is published. An outside audit of the client we run is not finished. Those are separate facts.
The account signature
A spending account signs with ML-DSA-87, from a 51-byte seed. That seed is not the validator key. The next nonce comes from the chain. Signing again does not destroy the key. There is no classical key beside the validator key as a fallback, and a spend does not use a one-time leaf.
The seed can be shown as 0x and 102 hex characters, or as 36 words. Either one opens the account. The address is JAN followed by 40 hex characters. Under that prefix the account is 20 bytes.
Accounts, the coin, and the chain id
The chain stores a 20-byte account id. That is 160 bits, and the number of possible accounts is 2¹⁶⁰. The display form is JAN followed by forty hexadecimal characters. The three letters are a prefix. They are not part of the 20 bytes, and they do not add entropy. The coin those accounts hold is JANUS. The symbol is JAN. One JANUS is 10¹⁸ base units.
A program that expects a different address prefix, or a wallet that expects 0x and a different signature scheme, will reject these accounts. No released wallet speaks this format yet.
Values set on this testnet
| Piece | On this testnet |
|---|---|
| Chain id | 36530. The explorer is testnet.januschain.xyz. |
| Coin | JANUS. Symbol JAN. 18 decimals. |
| Consensus | Stake chooses the writer. An included ergon can pay the finder. An empty answer mints nothing. |
| Slot | About 10 seconds. |
| Epoch | 8 slots, about 80 seconds. |
| Validator signature | ML-DSA-87, FIPS 204. Public key 2,592 bytes. Signature 4,627 bytes. |
| Account signature | ML-DSA-87 from a 51-byte seed. Nonce from the chain. Not the validator key. |
| Account id | 20 bytes, shown as JAN plus 40 hex characters. |
| Supply | 500,000,000 JANUS at genesis. Up to 500,000,000 more, only from included erga. Cap 1,000,000,000. Burn stops at 500,000,000. |
| Ergon | Keccak-256. First four years: 17 JANUS to the finder, 3 to the validator. Difficulty starts at 262,144. |
| Entry / ejection | 40,000 JANUS to enter. 20,000 JANUS can eject. At most 8 new validators per epoch. |
| Fork | 0x10000038. A signature for another fork is rejected. |
| Gas limit | 30,000,000 per block. |
What is not running
The explorer has a page for contracts. Audits of the client are not finished. The node listens on the operator’s own machine and does not take peers from the internet. Two genesis validators produce blocks. No model holds their keys. The testnet is live to read. It is not a place for real value.
Who may propose, and what a model is allowed to ask for, is the next page. The coin, the decimals, and the fee rules are on the JANUS page.