What is a Fleet Contract?
In the context of the Diode Network, a Fleet Contract is a decentralized smart contract that stores and manages the identities of clients (public keys) that have permissions to communicate with each other. The Fleet Contracts provide a number of functions to facilitate secure communications, including client registration, client deregistration, protected or private connections, and other capabilities.
All Clients using the Diode Network must be listed in a Fleet Contract in order to be able to communicate .
If you are using the Diode Client and have not explicitly set your Fleet Contract, it will default to using the Diode Developer Fleet Contract at address 0x6000000000000000000000000000000000000000.
To see what Fleet Contract your Client is using, use:
diode config -list or go to the Diode Network Explorer and search for your Client address - the account details page will display the Fleet Contract it belongs to.
To create your own Fleet Contract, use the Diode Network Explorer Fleets page (must have MetaMask installed). Once you've created your Fleet Contract, configure your Client to use it via:
diode config -set fleet=<address> . For example:
diode config -set fleet=0x6000000000000000000000000000000000000000