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

example: add next-js framework template #508

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

0xBora
Copy link
Contributor

@0xBora 0xBora commented Feb 17, 2025

Description

Adds a next-js framework example which uses lucid evolution and cardano connect wallet. Provides an easy to use template which showcases a secure way of building transaction on a browser frontend while communicating with a backend. Users can easily swap out the example configuration to use this template as a stepping stone for their own use-cases.

Type of change

  • 🔧 Bug fix
  • 💡 New feature
  • 🔩 Performance improvement
  • 📚 Docs

Checklist

  • I commented my code
  • Added/modified unit tests
  • I made corresponding changes to the documentation

Copy link

changeset-bot bot commented Feb 17, 2025

⚠️ No Changeset found

Latest commit: 64bcf80

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@0xBora 0xBora requested a review from solidsnakedev February 17, 2025 17:31

setIsLoading(true);
try {
const lucid = await Lucid(new Emulator([]), "Preprod");
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should init lucid without a provider on the client side, like

await Lucid()

Copy link
Contributor

Choose a reason for hiding this comment

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

@0xBora ping

Copy link
Contributor

Choose a reason for hiding this comment

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

is the WalletAPI type the same as the one from lucid evo?

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