Link

For developers

Nexus Developers

Read this page, then open one other page. That page is the contract. Copy it. Do not mix the pages.

Start

Three pages cover a program that talks to Link. Open the one that matches the job. A call this page does not name is on that other page. A call that other page does not name does not exist.

Link listens on http://127.0.0.1:21736 on that person’s computer. The signed exe opens the socket. python.exe and node.exe are not the program. Leave %LOCALAPPDATA%\NexusNode\wallets alone.

Which page

Pick one row. Read that page in full before you write code.

Read a Nexus ID

See which ID cards this wallet holds. The date and the country are a second ask. Read that page before you call it. Do not invent the calls.

Stay on that page

Do not take a path from a page you did not open. /v1/pay is the website button. /v1/xbsv/ordinals is the Chrome extension. A program uses the /v1/app/ paths on the page you opened.

Connect an app to Link

https://dalais.org/dev-link/

The person runs Link. Your program writes a connect file. They press Yes and pick the wallet. After that, the same door pays and signs.

Connect

One JSON file under %LOCALAPPDATA%\NexusNode\connect. The reply names the wallet they picked. Delete the bind file to disconnect.

Payment

POST /v1/app/pay. to is a paymail or a 1… address. sats is what they receive. The miner fee sits on top, from the messenger account.

Your own note

POST /v1/app/post. You name the protocol, the type, and the fields. Link signs them. House protocol names are refused.

Samples

C#, Python, and JavaScript are on that page. Ship the exe you signed. The first ask after a new coin can miss. Ask again.

Create and send ordinals

https://dalais.org/dev-ordinals/

Connect first, on the page above. This page is only the ordinal door. The coin you already have is enough. There is no extra ordinal scope.

List

GET /v1/app/ordinals. No ask. Call it before a send. Nexus ID coins and Art Ownership pieces are left off the list.

Picture

POST /v1/app/ordinal/picture. One file, one 1-sat. PNG, JPEG, WebP, or GIF. Hard stop 100 KB. The bytes are base64, not a path.

Token

POST /v1/app/ordinal/token. One deploy and mint. supply is a string of digits. An optional picture is the icon, not the supply.

Send

POST /v1/app/ordinal/send. to is an @nexusnode.link name or a 1… address. Link always asks. Auto does not cover these.

Read a Nexus ID

https://dalais.org/dev-docs/

Open that page and copy it. GET /v1/who and GET /v1/id do not ask. POST /v1/id/open always asks. Do not guess a field that page does not name.

Who

GET /v1/who returns the paymail. It does not ask. A website coin cannot call it.

The list

GET /v1/id names the five cards and a state. Active means they hold that card. The list does not include the secret on the card.

The open

POST /v1/id/open always asks. A yes on ID-age is the date. A yes on ID-addr is the country. Photo, bank, and PayPal stop at Active.

Closed

Street, city, bank details, PayPal email, full name, and the person code stay closed. Do not ask for them.