coastalceramics
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ## Application for Spiral Developer Grant to Work on Cashu Development Kit   The Cashu Development Kit (CDK) is designed to be a lightweight, flexible, and secure Software Development Kit (SDK) that allows developers to create Cashu applications without having to implement the Cashu protocol themselves. CDK will be written in Rust to harness the security and performance advantages of the language, as well as to ensure compatibility with a wide range of platforms. Additionally, the library will provide support for multiple programming languages through Foreign Function Interface (FFI) bindings to the native Rust core. CDK would enable mobile wallets and mints to share the same codebase. Mobile wallets could integrate the Rust codebase directly or via FFI bindings, this would enable the development of cross-platform Cashu wallets and mints, without the developer having to build Cashu internals.   ---   ## Previous Contributions My previous work has focused on building the Cashu library [cdk][cdk] which is written in Rust. This library implements all of the mandatory Cashu protocol specifications [NUTS][NUTS] 00-06, as well as the optional specifications [NUTS][NUTS] 07-15. Using [cdk][cdk], I have implemented a Cashu mint, [cashu-rs-mint][cashu-rs-mint], as well as a wallet, [cashcrab][cashcrab]. These two projects demonstrate the potential benefits of a CDK library to allow developers to implement their own Cashu projects without having to implement the protocol from scratch. In addition to the mentioned Cashu projects I worked on, I am also interested in the intersection of Cashu, Nostr, and lightning. This led me to develop [cashu-lnurl][cashu-lnurl], which is a service that allows users to get an lnurl address, and accept payments made to the address as a Cashu token via Nostr direct message. Within the Nostr space, I have contributed to the [rust-nostr](https://github.com/rust-nostr/nostr) library, and implemented pay-to-relay for the [nostr-rs-relay](https://github.com/scsibug/nostr-rs-relay), among other projects. Nostr has also led me to experiment with Core Lighting plugins; creating two of them: one to broadcast [zap notes](https://github.com/nostr-protocol/nips/blob/master/57.md), [cln-zapper-rs](https://github.com/thesimplekid/cln-zapper-rs), and a second to integrate with [NIP-57 Nostr Wallet Connect](https://github.com/nostr-protocol/nips/blob/master/47.md), [cln-nostr-wallet-connect](https://github.com/thesimplekid/cln-nostr-wallet-connect).   ---   ## Planned Contribuitions In order to continue the work I have already done, and increase my capacity to further create in this space, I would like to apply for grant funding. I strongly believe that this funding would allow me to make significant contributions to the Cashu ecosystem. The contributions I plan to make over the grant period are: #### CDK 1.0 I plan to stabilize the API of CDK and release a version 1.0. Before releasing 1.0, I would include an integration test suite against the Cashu reference implementation [Nutshell][nutshell]. I plan to use Nix to make tests simple to run and to be reproducible across different development environments. In addition to improving the library test suite, I would also improve the library's documentation to ensure developers can use it as efficiently as possible, using Rust's in-code documentation, as well as usage examples. #### Language Bindings In order to allow CDK to be used by developers in their chosen language and platform, I would implement FFI and WASM bindings. Work on this has already been started in [cashu-crab][cashu-crab], but significant improvement needs to be made in the areas of testing and examples for each language binding. Initially, support for Kotlin and Swift will be targeted to enable CDK to be used in native Android and iOS apps. This would later be expanded to include more languages for integration into other ecosystems like NodeJS and C#. These bindings would enable both wallets and mints to be built in multiple languages while using the core Rust CDK Cashu implementation. This helps to ensure the correctness of the application as they do not have to implement the protocol itself. This enables application developers to focus on features that add to user experience and not the internal protocol code, allowing the Cashu ecosystem to develop more quickly and deliver a better experience to the end user. #### Implementation To demonstrate the capability of the library, I would create a reference mint implementation using the CDK library by re-implementing [cashu-rs-mint][cashu-rs-mint] to use CDK and bringing it up to a production-ready, easy to deploy mint. In order to showcase the wallet functionality of CDK, I would create a CLI wallet in Rust. #### Collaboration While working on this proposed project, I plan to increase my collaboration with other developers in the Cashu space in multiple ways. First, I will increase my participation in Cashu protocol design and review of protocol changes for example working on [the great protocol cleanup](https://github.com/cashubtc/nuts/pull/55). One specific area within [NUTS][NUTS] that I would like to improve is the coverage of test vectors, which would ensure that implementations, including CDK, correctly follow specifications. A second area in which I would like to help improve is mint error response. Currently, these are not standardized. This makes ensuring that a wallet handles errors correctly difficult, which I have encountered myself when implementing a wallet. This has also been discussed in developer calls, and is a space for collaboration with other developers.   ---   I am very excited for the opportunity to continue contributing to the Cashu and Bitcoin ecosystem, and confident that with this grant I would do valuable work in this space. Please feel free to reach out to me with any questions through the contact information included below. Thank you for your time and consideration.   ---   ## Contacts: Github: [thesimplekid](https://github.com/thesimplekid) Nostr: [npub1qjgcmlpkeyl8mdkvp4s0xls4ytcux6my606tgfx9xttut907h0zs76lgjw](https://snort.social/p/npub1qjgcmlpkeyl8mdkvp4s0xls4ytcux6my606tgfx9xttut907h0zs76lgjw) twitter: [thesimplekid](https://x.com/thesimplekid) Email: tsk@thesimplekid.com [cashu-crab]: https://github.com/thesimplekid/cashu-crab [NUTS]: https://github.com/cashubtc/nuts [nutshell]: https://github.com/cashubtc/nutshell [cashu-rs-mint]: https://github.com/thesimplekid/cashu-rs-mint [cashcrab]: https://github.com/thesimplekid/cashcrab [cashu-lnurl]: https://github.com/thesimplekid/cashu-lnurl [cdk]: https://github.com/cashubtc/cdk

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully