WalletNode

Intermediate access between Pastel's blockchain and storage layer - register and search for NFTs

Installation

As with node installation in the quick start guide, pastelup is the best method for WalletNode installation.

./pastelup-linux-amd64 install walletnode -r latest

This method will also work if you already had node installed as in the quick start guide. A prompt will ask if you'd like to continue installation to the same directory, select yes and wait for installation to complete.

A prompt will also ask about whether you want to install Bridge service. Bridge service helps WalletNode to respond much faster on some API calls that involve downloading data from SuperNodes.

Running WalletNode

Run WalletNode through pastelup to make sure each component is properly started:

./pastelup-linux-amd64 start walletnode

Make sure that the pastel server information printed as well as a message indicating that the walletnode started successfully.

If you opted-in for Bridge Install when installing walletnode, it is useful to have your PastelID beforehand and provide it when prompted. If not, it will generate a PastelID for you & set it in the Bridge config file itself. But before this, please make sure that you have a pastel address with PSL in it (from an exchange or elsewhere).

Using WalletNode

Getting Started

If you want to register NFTs, make sure that you have a pastel address with PSL in it (from an exchange or elsewhere) and then submit a ticket to register your PastelID:

./pastel-cli tickets register id personal <pastelid> <passphrase> <address>

This will cost some PSL, as will other storage actions on the network.

Now head over to the API docs to get started with Swagger.

Last updated