Connect, pay, or post a note
Bind the program, send BSV, or sign a note you designed. Read Connect an app to Link before the other two. They assume this connect already happened.
For developers
Read this page, then open one other page. That page is the contract. Copy it. Do not mix the pages.
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.
Pick one row. Read that page in full before you write code.
Bind the program, send BSV, or sign a note you designed. Read Connect an app to Link before the other two. They assume this connect already happened.
Inscribe one picture, mint one token, list what this wallet holds, or send one. Read Create and send ordinals.
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.
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.
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.
One JSON file under %LOCALAPPDATA%\NexusNode\connect. The reply names the wallet they picked. Delete the bind file to disconnect.
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.
POST /v1/app/post. You name the protocol, the type, and the fields. Link signs them. House protocol names are refused.
C#, Python, and JavaScript are on that page. Ship the exe you signed. The first ask after a new coin can miss. Ask again.
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.
GET /v1/app/ordinals. No ask. Call it before a send. Nexus ID coins and Art Ownership pieces are left off the list.
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.
POST /v1/app/ordinal/token. One deploy and mint. supply is a string of digits. An optional picture is the icon, not the supply.
POST /v1/app/ordinal/send. to is an @nexusnode.link name or a 1… address. Link always asks. Auto does not cover these.
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.
GET /v1/who returns the paymail. It does not ask. A website coin cannot call it.
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.
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.
Street, city, bank details, PayPal email, full name, and the person code stay closed. Do not ask for them.