@web3inbox/core v1.3.0
@web3inbox/core
Web3Inbox Core is a client wrapper over Notify Client. It manages state of subscriptions and notifications, as well as multiple helper functions to ease the use of notify client and easily paging notifications of a subscription.
Basic Usage
import { Web3InboxClient } from "@web3inbox/core";
import { signMessage } from "@wagmi/core";
const client = await Web3InboxClient.init({
projectId: "<YOUR_PROJECT_ID>",
domain: window.location.host,
});
const account = `eip155:1:0x...`;
await client.setAccount(account);
const { message, registerParams } = await client.prepareRegistration({
account,
});
const signature = await signMessage(message);
await client.register({ registerParams, signature });
await client.subscribeToDapp();
Read more in the docs
10 days ago
11 days ago
11 days ago
13 days ago
13 days ago
13 days ago
13 days ago
16 days ago
17 days ago
20 days ago
23 days ago
23 days ago
23 days ago
24 days ago
24 days ago
30 days ago
30 days ago
30 days ago
30 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
5 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
10 months ago