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

Send to contact + P2PK lock #83

Merged
merged 6 commits into from
Jul 23, 2024
Merged

Send to contact + P2PK lock #83

merged 6 commits into from
Jul 23, 2024

Conversation

gudnuf
Copy link
Contributor

@gudnuf gudnuf commented Jul 23, 2024

Add option to send and receive to contacts with locking to their pubkey and unlocking with your privatekey

Copy link

vercel bot commented Jul 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
boardwalk 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jul 23, 2024 9:55pm

@gudnuf gudnuf merged commit 14d16f7 into dev Jul 23, 2024
1 of 2 checks passed
@gudnuf gudnuf deleted the feat/send-to-contact branch July 23, 2024 22:00
gudnuf added a commit that referenced this pull request Jul 23, 2024
* organize button directory

* rafactor send flow

* add privkey and pubkey to useCashu for P2PK

* refactor send/receive for locking/unlocking

* add unlock to "reclaim"

* reset lock when close send modal
gudnuf added a commit that referenced this pull request Jul 29, 2024
* organize button directory

* rafactor send flow

* add privkey and pubkey to useCashu for P2PK

* refactor send/receive for locking/unlocking

* add unlock to "reclaim"

* reset lock when close send modal
gudnuf added a commit that referenced this pull request Jul 29, 2024
* add contacts and view them (#77)

* fix add contact

* error handling for adding contacts (#80)

* add unique constraint to contacts

* fix some bugs in adding contacts

* update to cashu-ts@v1.0.0-rc.12 (#82)

* Send to contact + P2PK lock (#83)

* organize button directory

* rafactor send flow

* add privkey and pubkey to useCashu for P2PK

* refactor send/receive for locking/unlocking

* add unlock to "reclaim"

* reset lock when close send modal

* fix add contact logic

* fix prisma client overload

* users can set custom usernames (#84)

* add ability to update usernames

* styles

* move contacts into "Profile"

* show user that token is locked to

* push self as contact into contacts modal

* sort contacts based on calculated score

* change self in contacts list

* force usernames to lowercase for uniqueness

* language change

* feat/add contact in main wallet

* add `isTokenSpent` to useCashu hook

* show locked ecash in tx history

* change "locked" to "eTip"

* fetch contat by pubkey

* add auth middleware to user endpoints + refactor to `appApiRequests`

* change modal titles when eTip

* add redirect button to profile page

* fix activity spacing

* make share button bigger

* make wallet view only if tokens are locked

* betteer profile button color

* change already claimed message

* reapply button tweaks from main

* move `proofsLockedTo` to /utils/cashu

* add opengraph data

* types

* fix `maxLength` in `formatUrl`

* remove console.logs

* fix undefined return values
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.

1 participant