PastelUp is Pastel Network's software for interfacing with our distributed blockchain software and is the best way to get started using Pastel. It functions as a utility wrapper for the node-operating binaries that communicate with the blockchain.
PastelUp installs, updates, and starts/stops the Pastel daemon (pastelD), as well as everything needed for the storage layer to operate (e.g., WalletNode, SuperNode)
This command will install pasteld and pastel-cli in /home/<username>/pastel/
Run your Node
After installing the node:
./pastelup-linux-amd64 start node
You should see some output that looks like:
Make sure you're connected to the network
Change directories to the pasteld/pastel-cli installation location (Default /home/<username>/pastel/)
Use pastel-cli to connect to a running node:
This will print the number of nodes you're connected to. This might not work right away if you're just connecting to the network, but will work as your node is syncing to the main network.
Setup your Wallet and PastelID
You will need a Pastel address to send and receive PSL, and a PastelID to create NFTs. Your PastelID is used as a unique identifier to allow other Pastel users to identify creators and holders of assets. You might want multiple wallets, but you probably only want one PastelID.
Navigate to your pasteld/pastel-cli installation location (Default /home/<username>/pastel/). Then use pastel-cli to get a new chain address:
Backing up that pastel address with:
./pastel-cli dumpprivkey <address you just printed>
Will allow you to import that key at a later date with:
./pastel-cli importprivkey <private key you just printed>
Remember to store your private key in a secure and private location
Next you should get a pastelID so you can identify your art on the network. Once again, use pastel-cli:
./pastel-cli pastelid newkey "<passphrase>"
You will see a much larger key has printed to the console. To recover your pastelID for your wallet at a later date, you can import the key in combination with your passphrase:
The core node functionality above will connect you to the blockchain, but to get started using Pastel to register and search for art, you should get connected to the layer built on top of PSL, beginning with walletnode.