For exchanges
Listing ORN
What an exchange needs to take deposits and send withdrawals in ORN, on one page. It uses the orien command, the network’s own program. Build with Orien covers installing it and everything else.
The figures
- Name
- Orien
- Ticker
- ORN
- Decimals
- 9. The smallest unit is a billionth of an ORN.
- Maximum supply
- 100,000,000 ORN, never more.
- Fee
- 0.1% of the amount, at least 0.000001 and at most 1 ORN. The sender pays it on top; the receiver gets the full amount.
- Addresses
- 64 characters, 0–9 and a–f. There is no memo or tag.
- Confirmations
- None to count. A payment is final in a fraction of a second.
- Logos
- The coin icon as SVG and PNG, on the logos page.
- Explorer
- https://explorer.orien.network/address/ADDRESS/ shows any address.
Deposits
A payment can’t carry a note, so give each customer their own address. One recovery phrase makes as many separate accounts as you need, each with its own address and its own wallet file:
orien wallet restore customer-42.wallet --account 42It asks for the phrase, typed or piped in, and prints the account’s address. Account 1 is the wallet the phrase was made with.
A deposit counts as soon as it shows. It is final then, with nothing to wait for. To check an address, ask the validators themselves:
orien activity ADDRESS --json{
"address": "be5b7c…258b",
"epoch": 162,
"from": 20,
"unknown": [],
"activity": [
{
"kind": "received",
"amount": "1000000",
"counterparty": "5e6295…6a42",
"payment": "5e6295…6a42:3",
"epoch": 30,
"time": 1794802268
}
]
}kindisreceivedfor a deposit. Other kinds aresent,mined,fees,claimed,refundedandunstaked.amountis in billionths of an ORN, as text: 1000000 is 0.001 ORN.paymentis the sender’s address and its payment number. It never repeats, so use it to credit each deposit once.timeis empty for payments of the hour under way. They are final already; the time fills in at the hour’s checkpoint.--from Nstarts at checkpoint N; without it, the last day.
That lists each payment that came in, with its sender, its amount and a payment id that tells it from every other. orien balance ADDRESS --json gives the balance that validators holding more than two thirds of the stake agree on. Both depend on nothing of ours but the network. The explorer’s API answers the same questions over the web.
Once an hour the validators sign a checkpoint of every balance. A deposit is final before that; the checkpoint is what proves it to anyone who checks later.
Withdrawals
Send from one wallet, on one computer. The command returns once the payment is final:
orien send --to ADDRESS --amount 25 --receipt withdrawal-1041.receipt- One at a time. Every payment is signed with a one-time key, so queue withdrawals and send the next when the last has returned. Never run two copies of the same wallet.
- The receipt is proof of payment. It holds the validators’ signatures, and anyone can check it offline with
orien verify withdrawal-1041.receipt. Keep it with the withdrawal. - If sending stops halfway,
orien resumefinishes the payment as it was signed. Do that before sending anything else from the wallet. - The fee is yours. A withdrawal of 25 ORN takes 25.025 from your wallet, and the customer receives 25.
Moving a customer’s deposit to your main wallet is a payment from that customer’s account, by the same rules.
Updates
Nothing you run here updates itself. Sending, checking balances and checking receipts never do. Only orien mine and orien node keep themselves current, and each takes --no-auto-update.
Update when you choose, with orien update. It installs a release only if the Orien release key signed it. The changelog lists every release and every change to the network.
Backup
- The 24-word recovery phrase, kept offline. It brings back every account made from it, on any computer. Anyone who has it can spend them all.
- Wallet files stay on one computer, sealed with
orien wallet password. Don’t copy a wallet file to a second computer that also sends: restore from the phrase only when the first is gone for good.
Everything else
Installing the orien command, the rules to build by, the technical paper and the genesis file are all one step away. To talk to a person, write to [email protected].