FundRing / fundring

This is a community fund for the Filecoin ecosystem that allows participants to contribute to projects they're interested in.
MIT License
5 stars 0 forks source link

Create embeddable Fund Ring widget code #3

Closed avivash closed 1 year ago

avivash commented 1 year ago

We need to look at a way to create embeddable, standalone code for a fund ring widget pointed to a particular contract address that can be added to any other app or website.

We're investigating the viability of web components for this. Some preliminary investigation suggests generating web components from sveltekit is a baked in feature https://www.casperfeng.com/blog/creating-web-components-using-svelte, but I haven't tested it yet.

We can explore other options, such as html/js that uses script tags to load the relevant libraries too.

avivash commented 1 year ago

This has been done by exporting a embeddable web-component. See the example here