Skip to content

Simple Nostr client running on the ICP. Using vetkeys for secure storing private keys on-chain.

Notifications You must be signed in to change notification settings

icp-hackathons/nostric

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nostric

Nostric is yet a very simple Nostr client running on the Internet Computer Protocol (ICP). We started this project as a submission to the Vetkey challenge bounty released by the DFINITY foundation. The main idea is to store Nostr private keys encrypted in the backend of the application. This makes managing private keys secure and also improves UX as an user does not need to use any Chrome extensions to sign posts.

However, there we see more synergies between Nostr and ICP and it would be great to continue with this project to deliver a fully featured Nostr client and eventually relay server as well.

Supported features

Our client currently supports these features:

  • Generate PK, SK
  • Create a profile
  • Update profile
  • NIP-01 kind:1 Post publish
  • NIP-01 kind:0 User Metadata publish

Canisters

Current architecture consists of 4 canisters for local development:

  • frontend canister
  • backend canister
  • vetkd_system_api canister
  • internet identity canister (for local developlment only)

Deploy locally

  1. Get a clone of this repository:
git clone https://github.com/lukasvozda/nostric.git
  1. Install DFX and install Mops
  2. Run npm install to install JS dependencies:
npm install
  1. Start your local replica:
dfx start --clean
  1. Now run in the new shell execute the deploy script (if you are going to deploy it locally also run script to deploy ckbtc_ledger canister):
bash deploy-local-ckbtc.sh
dfx deploy

If your src/declarations folder does not create run:

dfx generate
  1. Run your development server:
npm run dev

About

Simple Nostr client running on the ICP. Using vetkeys for secure storing private keys on-chain.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 47.2%
  • Motoko 29.0%
  • TypeScript 21.8%
  • JavaScript 1.4%
  • CSS 0.2%
  • HTML 0.2%
  • Shell 0.2%