You / Enter

Create your identity

Your identity in Dysnomia is a LAU: a small contract of your own that holds your name, your Soul and your Aura. You create it from your wallet, register it, and every other part of the game reads it from then on.

Reading costs and contracts needs no wallet. Creating needs one on PulseChain.
Registered identity
connect to check
CHO.GetUserTokenAddress(wallet)
The LAU that CHO maps to your wallet. Empty means this wallet has not registered one yet.
Your Aura
—
uint160(wallet) % VOID.MotzkinPrime()
Fixed by your wallet address. It becomes Saat(2) of any LAU you create; it never changes.
Cost to create, now
reading…
eth_estimateGas(LAUFactory.New) × eth_gasPrice
Gas for step 1 at today's gas price, paid in PLS. There is no other fee.
Your PLS
—
eth_getBalance(wallet)
You need more than the cost above, plus a little for steps 2 and 3.

Your identity's picture appears here once a LAU exists. It is drawn from uint160(LAU) % MotzkinPrime, like on its identity page.

function Enter(string memory name, string memory symbol) public returns(uint64[3] memory Saat, Bao memory On) {

  if(_activeUsers[msg.sender] != 0) revert UserAlreadyCreated(msg.sender);

What Enter does

VOID.Enter is where an identity is born. It runs inside your LAU while the LAU is being created, so you never call it yourself. In one transaction it:

Checked on chain: calling VOID.Enter from an existing LAU reverts UserAlreadyCreated(thatLAU). Because each LAU is its own caller, the guard is per LAU, not per wallet. A wallet links to its identity through CHO (step 2).

Three steps

Each step is a transaction you sign in your own wallet. Check runs it as a simulation first and shows the cost; nothing is sent until you press Sign. This page never asks for a seed phrase or private key.

  1. 1

    Create your LAU to do

    LAUFactory.New(string name, string symbol) returns (address LAU)

    Deploys your LAU. Its constructor calls VOID.Enter(name, symbol), which does everything above. The name is your username; the symbol is the ticker of your LAU token.

  2. 2

    Register it to your wallet after step 1

    CHO.Enter(address UserToken)

    Tells CHO that this LAU is yours, so every contract can find it from your wallet (CHO.GetUserTokenAddress). Only an owner of the LAU can do this; anyone else gets InvalidOwnership.

  3. 3

    Start your YUE optional

    SEI.Start(address UserToken, string name, string symbol)

    Creates your YUE, the token that keeps your Hypobar and Epibar at each territory. You need it to play: without one, CHEON.Su reverts NotStarted. Skip it if you only want to chat.

Contracts used: LAUFactory · VOID · CHO · SEI . All on PulseChain (chain 369).

Then