cellula.id
v0.5.0Resolve and check .cell names on Nervos, verify what a name signed, pay over Fiber as an agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
resolve_cell_name Where a .cell name is paid
Look up a .cell name (for example alice.cell) on the Nervos blockchain and return where its owner is paid: a CKB address, and when published a Bitcoin address, an Ethereum/EVM address, a Lightning Address and a Fiber node. Also whether the name is registered, its state (live, grace or free) and when it expires. Read from the chain directly, and only addresses written by whoever holds the name now are returned (one a former owner left is listed as withheld). Pay with your own wallet to the address returned; never to an address taken from anywhere else.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name, with or without .cell |
network | string | Which Nervos network to read. Defaults to mainnet. |
name_for_address The .cell name of an address
Find the .cell name a CKB address chose for itself (its primary name), checked both ways: the address chose the name and the name still points back to it. Takes a CKB address (ckb1... on mainnet, ckt1... on testnet). Returns null for an address without one.
| Parameter | Type | Description |
|---|---|---|
address * | string | A CKB address: ckb1... on mainnet, ckt1... on testnet |
network | string | Which Nervos network to read. Defaults to mainnet. |
check_cell_name Is a .cell name free
Check whether a .cell name can be registered. For a free name: the yearly fee in CKB as it stands today and the deposit held in the name. For a taken one: when it expires. Registering happens at the page returned, with the person's own wallet.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name, with or without .cell |
network | string | Which Nervos network to read. Defaults to mainnet. |
verify_cell_statement Was this said by a .cell name
Verify a statement signed by a .cell name (its check link, its token, or the pasted block between its marker lines). Says whether it was signed by whoever owns the name now, and if not, why: a former owner, a changed text, another deployment.
| Parameter | Type | Description |
|---|---|---|
statement * | string | The statement link, token or block |
network | string | Which Nervos network to read. Defaults to mainnet. |
cell_name_registration_link A link to register a free .cell name
Prepare the registration of a free .cell name for a person: returns a link that opens it on cellula.id, where they sign with their own wallet. Nothing is registered or paid by this tool. With invited_by (a registered .cell name), the link carries that name's invitation: a tenth of the fee goes to that name's owner in the same transaction, and the person pays the same as without it. Says the yearly fee and, when invited, the inviter's share.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name to register, with or without .cell |
invited_by | string | A registered .cell name whose owner invites this registration |
network | string | Which Nervos network to read. Defaults to mainnet. |