@karn_lat/protocol-sdk 0.1.0-alpha.1 → 0.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,11 +1,18 @@
1
- # @karn/protocol-sdk
1
+ # @karn_lat/protocol-sdk
2
2
 
3
- The official TypeScript SDK for interacting with the Karn Protocol (Valocracy) on Stellar/Soroban.
3
+ [![npm version](https://img.shields.io/npm/v/@karn_lat/protocol-sdk.svg?style=flat&color=purple)](https://www.npmjs.com/package/@karn_lat/protocol-sdk)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@karn_lat/protocol-sdk.svg?style=flat&color=purple)](https://www.npmjs.com/package/@karn_lat/protocol-sdk)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
+ [![Stellar: Soroban](https://img.shields.io/badge/Stellar-Soroban-blue.svg)](https://soroban.stellar.org)
7
+
8
+ > **The official TypeScript SDK for Karn Protocol**
9
+ >
10
+ > Contribution-driven governance on Stellar/Soroban - where power = contribution, not capital
4
11
 
5
12
  ## Installation
6
13
 
7
14
  ```bash
8
- npm install @karn/protocol-sdk @stellar/stellar-sdk
15
+ npm install @karn_lat/protocol-sdk @stellar/stellar-sdk
9
16
  ```
10
17
 
11
18
  ## Quick Start
@@ -16,7 +23,7 @@ import {
16
23
  GovernorClient,
17
24
  TreasuryClient,
18
25
  rpc
19
- } from '@karn/protocol-sdk';
26
+ } from '@karn_lat/protocol-sdk';
20
27
 
21
28
  // Configuration
22
29
  const NETWORK_PASSPHRASE = "Test SDF Network ; September 2015";
@@ -50,7 +57,7 @@ main();
50
57
  Wrap your app in `KarnProvider`:
51
58
 
52
59
  ```tsx
53
- import { KarnProvider } from '@karn/protocol-sdk';
60
+ import { KarnProvider } from '@karn_lat/protocol-sdk';
54
61
 
55
62
  const config = {
56
63
  networkPassphrase: "...",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@karn_lat/protocol-sdk",
3
- "version": "0.1.0-alpha.1",
4
- "description": "Official TypeScript SDK for Karn Protocol - Merit-based governance on Stellar",
3
+ "version": "0.1.0-alpha.2",
4
+ "description": "Official TypeScript SDK for Karn Protocol - Contribution-driven governance on Stellar",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",