Skip to content

feat: added Helia Remix example#368

Open
paschal533 wants to merge 10 commits into
ipfs-examples:mainfrom
paschal533:Remix-example
Open

feat: added Helia Remix example#368
paschal533 wants to merge 10 commits into
ipfs-examples:mainfrom
paschal533:Remix-example

Conversation

@paschal533
Copy link
Copy Markdown

Helia Remix Example

This example demonstrates how to integrate Helia with a Remix application, enabling seamless interaction with the IPFS network. It showcases how to:

  • Initialize Helia within a Remix app.
  • Read and write data to IPFS.
  • Leverage Helia's features in a server-side rendering (SSR) environment.
    The example is designed for developers building decentralized applications who want to combine the powerful features of Remix and Helia to create efficient and scalable solutions.

Feel free to explore, modify, and adapt this example for your projects!

@paschal533
Copy link
Copy Markdown
Author

Hi @SgtPooki
I need your review here :)

@paschal533
Copy link
Copy Markdown
Author

Hi @SgtPooki, I have also updated the ci.yml file here.

Comment thread examples/helia-remix/package.json
Comment thread examples/helia-remix/components/ipfs.tsx Outdated
Comment thread examples/helia-remix/components/ipfs.tsx Outdated
Comment thread examples/helia-remix/app/entry.server.tsx Outdated
Comment thread examples/helia-remix/app/entry.client.tsx Outdated
Comment thread examples/helia-remix/.eslintrc.cjs
paschal533 and others added 3 commits February 2, 2025 21:00
Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com>
Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com>
@paschal533 paschal533 reopened this Feb 4, 2025
Copy link
Copy Markdown
Contributor

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor nits.. approving but would like those fixed

Comment thread .github/workflows/ci.yml

const HeliaComponent: React.FC = () => {
const [id, setId] = useState<string | null>(null)
//@ts-expect-error : Type 'null' is not assignable to type 'HeliaNode'.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont think we need this anymore?

Copy link
Copy Markdown
Author

@paschal533 paschal533 Feb 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually need it because we imported it in the _index.tsx file

Comment thread examples/helia-remix/components/helia.tsx Outdated
Comment thread examples/helia-remix/components/helia.tsx Outdated
paschal533 and others added 3 commits February 12, 2025 00:03
Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com>
Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants