Self-Hosting Shares
As mentioned in the Tech Overview section, you are given the option to host one of the shares on your servers for additional security of user wallets. Do note that if you opting to store shares on your own servers comes with the following risks:
- If data is lost of damaged, users can potentially lose access to their funds.
- If your service is down temporarily, users may not be able to access their wallets during the downtime.
- If the latency of the endpoint is higher than 1000ms, it will result in degraded user experience.
Please note that if you opt to host your own shares, you cannot change this in the future and will instead need to create a new project where you can pick Metafi's default share hosting option.
We require you to implement 2 endpoints to begin self-hosting shares. Once you implement these endpoints, please update the URLs on the Project Settings page of the developer portal.
post
https://your-api.com
/createShare
get
https://your-api.com
/retrieveShare
Last modified 7mo ago