Inspiration
I am inspired by how easy it is to spin up confidential dapps on Sapphire so I wanted to share a tutorial so others can see how easy it is.
What it does
It's a tutorial that shows how to create a Gravatar-like dapp using Sapphire and SvelteKit. Like Gravatar, the example dapp (called "Privatar") lets users upload an avatar image and then share a URL that can be used to show a user's avatar given their wallet address.
How I built it
I created a contract on Sapphire for uploading profile data and an avatar and then provided a SvelteKit frontend for editing your profile and accessing the avatar and data via API endpoints.
Challenges we ran into
The main challenge was time. I already submitted another entry to this hackathon and had to take a break to host my friends who were visiting, so I only had 5 or 6 days to complete this.
Accomplishments that we're proud of
I think it's a solid tutorial and hopefully will inspire other identity-related dapps.
What we learned
Storing small images is relatively cheap on Sapphire.
Built With
- solidity
- svelte
- typescript
Log in or sign up for Devpost to join the conversation.