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

Tsk cleanup #402

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,91 @@
# eTIMEbank

` work in progress `

This is a **Proof of Concept** fork of the [Cashu Development Kit (cdk)](https://github.com/cashubtc/cdk)

Concept is the creation of a FOSS ecash based time-banking application that runs both the wallet client and mint logic for offline and offgrid communities.

This project will be submitted to a [Bitcoin++ Hackathon](https://btcplusplus.dev/) but you are free to fork it and make it your own. PRs welcome.

This project by design not include any Bitcoin elements and does not use satoshis as a unit, it is an exercise in applying a [Chaumian blinded signatures scheme](https://wikipedia.org/wiki/Blind_signature) to the concept of [Time Banking](https://en.wikipedia.org/wiki/Time_banking)

To know more about the design choices, what time banking is, and the reason why I made this project please refer to the [context.md document within this repository](https://github.com/0xg4tt0/eTIMEbank/blob/main/context.md)

## TO DO

- [x] fork cdk & write project description
- [x] write context.md
- [ ] remove Lightning Network logic:
- [ ] cdk-lnbits
- [ ] cdk-lnd
- [ ] cdk-phoenixd
- [ ] cdk-strike
- [ ] ...
- [ ] remove Bitcoin logic:
- [ ] multi-mint logic
- [ ] channel opening/closing
- [ ] ...
- [ ] replace 'sat' with 'time'
- [ ] define 'time'
- [ ] integrate logic to check real time and 'ecash 'time'
- [ ] melt & mint logic remains the same
- [ ] ...
- [ ] testing
- [ ] deploy on 2 devices
- [ ] test sharing 'time'
- [ ]
- [ ]
- [ ] slap together some slides
- [ ] drink milk
- [ ] profit ?


Design choices for project

- 100% offline use (no http/API)
- should run on smartphones made after 2010 (ideally a PWA)
- access-control to the mint (not open to anyone)
- etime notes represent minutes of real time (time counter mechanism)
- no 'withdrawl' or 'deposit' logic (no exchange of etime for other assets)
- ability to cryptographically query the mint for unique audits (more transparency with verifiability)

## Specifications

*meow*
*meow*


## Relevnt NUTs

*meow*
*meow*


## Feature Request / Future

*meow*
*meow*
- multi-mint or federated setup of mints within wallet client (Fedi example)
- LoRA / mesh network / bluetooth connectivity protocol for clients (offline)
- APK build
- reproducible build
- Translate into multiple languages (not just European ones)

## How to deploy / build

*meow*
*meow*


## License

Code is under the [MIT License](LICENSE)

# Archive of the original README.md from cdk fork

```

> **Warning**
> This project is in early development, it does however work with real sats! Always use amounts you don't mind loosing.

Expand Down Expand Up @@ -86,6 +174,8 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
[08]: https://github.com/cashubtc/nuts/blob/main/08.md
[09]: https://github.com/cashubtc/nuts/blob/main/09.md
[10]: https://github.com/cashubtc/nuts/blob/main/10.md

```
[11]: https://github.com/cashubtc/nuts/blob/main/11.md
[12]: https://github.com/cashubtc/nuts/blob/main/12.md
[13]: https://github.com/cashubtc/nuts/blob/main/13.md
Expand Down
4 changes: 0 additions & 4 deletions bindings/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions bindings/cdk-js/.npmignore

This file was deleted.

25 changes: 0 additions & 25 deletions bindings/cdk-js/Cargo.toml

This file was deleted.

61 changes: 0 additions & 61 deletions bindings/cdk-js/examples/mint_token.js

This file was deleted.

3 changes: 0 additions & 3 deletions bindings/cdk-js/justfile

This file was deleted.

42 changes: 0 additions & 42 deletions bindings/cdk-js/package.json

This file was deleted.

12 changes: 0 additions & 12 deletions bindings/cdk-js/src/error.rs

This file was deleted.

12 changes: 0 additions & 12 deletions bindings/cdk-js/src/lib.rs

This file was deleted.

24 changes: 0 additions & 24 deletions bindings/cdk-js/src/nuts/mod.rs

This file was deleted.

42 changes: 0 additions & 42 deletions bindings/cdk-js/src/nuts/nut00/blind_signature.rs

This file was deleted.

Loading
Loading