Join Server
Last updated
Was this helpful?
Last updated
Was this helpful?
Data Union DAO provides a that handles the automated joins via a shared secret.
We recommend implementing your own business logic and set of rules under what conditions members are allowed to join. You can use our as a starting point (the default join server uses the join server as a base too).
Shared secrets allow new members to join the Data Union without a manual transaction from a joinPart agent.
The functions createSecret
, listSecrets
and deleteSecret
can only get called by the admin. Thus the data union client private key must be from the admin.
Once you got the shared secret
, save it in an environment variable.
Generate a shared secret with the SDK:
Here you can implement logic like under what circumstances wallet addresses can join. E.g. only with proof of humanity verification or only addresses with an ens or only addresses that have proven to be valuable data provider. It's your decision to make.
Again the only requirement for a member join the default join server has is providing the shared secret. So anyone with the shared secret can essentially join the data union.
You might find the default join servers join requirement too basic (shared secret). We highly recommend implement your own logic. You can use the as a starting point. The default join server uses this repository as the base too.