Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add more storage options to Lens Client #1394

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

jonathangus
Copy link
Contributor

@jonathangus jonathangus commented Dec 23, 2024

Risks

Low/Medium

Background

What does this PR do?

Enable more storage options in Lens Client. With this PR we now support:

  • Arweave
  • Storj (default, to not introduce any breaking changes)
  • Pinata

Fix: ImprovegetProfilePictureUri to use correct types instead of any

What kind of change is this?

Improvements

Why are we doing this? Any context or related work?

Wanted to use Lens Client and posts where stored on Storj that required a beta account so wanted to introduce more options.

Fix TODO for packages/client-lens/src/actions.ts in #1223

Documentation changes needed?

Testing

Where should a reviewer start?

Create an agent with Lens Client enabled

Detailed testing steps

Change the environment variables for each storage provider

Storj:

LENS_STORAGE_PROVIDER=storj
STORJ_API_USERNAME=
STORJ_API_PASSWORD=

Arweave:

LENS_STORAGE_PROVIDER=arweave
ARWEAVE_JWK=

Pinata:

LENS_STORAGE_PROVIDER=pinata
PINATA_JWT=
PINATA_GATEWAY_URL=

Discord username

@0xheavydev

@jonathangus jonathangus changed the title Feat: Add more storage options to Lens Client feat: Add more storage options to Lens Client Dec 23, 2024
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