All pages
Powered by GitBook
1 of 1

Loading...

Alternative way to create a space

If you do not want to have the wallet control your settings, you can follow the steps below to create a space on Snapshot.

Drawbacks

  • You will not be able to change settings from the UI

  • Every time you want to change the settings, you will need to broadcast a new transaction

How to Create Space

  • Create a JSON file for your settings on Snapshot. The format of the JSON file could be as follows:

  • Store the JSON file on IPFS

  • Use the IPFS link on the ENS text record. This will make the ENS owner the only controller of the settings.

  • You can check if your space is valid from the GitHub link below

  • Once the above transaction is successful, go to the below link to update the space in Snapshot:

    https://hub.snapshot.org/api/spaces/<ENS DOMAIN>/poke

https://github.com/snapshot-labs/snapshot.js/blob/master/test/examples/space.json
https://github.com/snapshot-labs/snapshot.js/blob/a0adc547aa0922aa6abd35708a4a292048bca6a2/test/schema.ts#L4