NFTs that do something
The berth register.
Every berth below is an NEP-171 token minted by House of Stake's registry, and every token is also a NEAR account with its own wallet and no keys. The card is drawn from the chain: the holder from nft_token, the lease from the token's metadata, and the money from the wage chest. Transfer the token and the account, its wages and its sea-service record go with it; the old holder's allotment does not.
How a berth is minted
- 1 The crew welfare trust, a payment authority on the crew namespace, calls rent_sub_account_paid.
- 2 The registry mints the token to the seafarer and deploys the House of Stake wallet at that name.
- 3 The shipowner opens it on a ship; sign-on waits until four months are locked.
Reading the registry...