- Note : This lib is not usable for now, but soon it will expected release date from now , is around + 1 month , alpha release soon :)
For people developing clients and services , this is a core services that lets them develop usefull applications like Front End for tech stack as below.
- If you are intending to build something simple , that uses nostr
- If you like to build something related to the UI check our UI-SDK
- This is just a composed form of services that lets you develop faster
- Create memonic pairs for the client,
- add your pool or find existing pools or relays
- Build schema like events and relay them.
- Store files over hypercore and relay them.
- Fetch Events for the required fields
- Low on dependency and has tested features and tests
- Typescript Enabled
- Query events like
Get this from this Relay
- Add the SDK in your project
import {Application} from '2nd.SDK'
const init = new Application()
The above will initialize a new Application class that can be accessed and methods exposed directly for use such as init.keys()
or init.relayPool()
and so on.
- Make sure that you init the above class , and then you can explore other classes based on your need, like
Keys
, though most of the basic instances are available with new classes that you instantiate in your project and lets you do most of the methods exposed as per needs.
- Packaging the React UI services that can be used as context
Application
Application.Relay
Application.Logger
Events.publish
Pools.api
Keys.api