The open-source DFlow endorsement server contains all the instructions to get your endorsement server up and running. Once you have an endorsement server up and running, you must set your endorsement key in the DFlow Dashboard before creating auctions.
As a best security practice (or in case your endorsement key is leaked), you can rotate your endorsement key without downtime by doing the following:
- Create a new endorsement key
- Add your new endorsement key to your DFlow account
- Run a new instance of the endorsement server that uses the new endorsement key
- Shut down your old instance of the endorsement server
- Remove your old endorsement key from your DFlow account
Zero-downtime endorsement key rotation
DFlow only accepts endorsements that were signed by an endorsement key that is currently in your DFlow account. To avoid having any of users' requests rejected due to a mismatched endorsement key during key rotation, you must add your new endorsement key to your DFlow account before running the new instance of the endorsement server that uses the new endorsement key. You must remove your old endorsement key from your DFlow account after shutting down your old instance of the endorsement server that uses the old endorsement key.
Updated 4 months ago
Once your endorsement server is up and running, you must create auctions before sending orders to DFlow. Learn how to manage auctions.