@lightprotocol/compressed-token 0.15.0 → 0.15.1
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.
- package/README.md +19 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,24 +1,36 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://github.com/ldiego08/light-protocol/raw/main/assets/logo.svg" width="90" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">@lightprotocol/compressed-token</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<b>This is the JavaScript SDK for interacting with the Compressed Token program on Solana.</b>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://badge.fury.io/js/@lightprotocol%2Fcompressed-token">
|
|
13
|
+
<img src="https://badge.fury.io/js/@lightprotocol%2Fcompressed-token.svg" alt="package npm version" height="18" />
|
|
14
|
+
</a>
|
|
15
|
+
<img src="https://img.shields.io/npm/l/%40lightprotocol%2Fcompressed-token" alt="package license" height="18">
|
|
16
|
+
<img src="https://img.shields.io/npm/dw/%40lightprotocol%2Fcompressed-token" alt="package weekly downloads" height="18" />
|
|
17
|
+
</p>
|
|
2
18
|
|
|
3
|
-
Use this to interact with the compressed-token program on Solana via the
|
|
4
|
-
Compression RPC API.
|
|
5
19
|
|
|
6
20
|
### Installation
|
|
7
21
|
|
|
8
|
-
**For use in Node.js or
|
|
22
|
+
**For use in Node.js or web**
|
|
9
23
|
|
|
10
24
|
```bash
|
|
11
25
|
npm install --save \
|
|
12
26
|
@lightprotocol/compressed-token \
|
|
13
27
|
@lightprotocol/stateless.js \
|
|
14
|
-
@solana/web3.js \
|
|
15
|
-
@coral-xyz/anchor@0.29
|
|
16
28
|
```
|
|
17
29
|
|
|
18
30
|
### Documentation and examples
|
|
19
31
|
|
|
20
32
|
- [Latest Source code](https://github.com/lightprotocol/lightprotocol/tree/main/js/compressed-token)
|
|
21
|
-
-
|
|
33
|
+
- [Creating and sending compressed tokens](https://www.zkcompression.com/developers/typescript-client#creating-minting-and-transferring-a-compressed-token)
|
|
22
34
|
|
|
23
35
|
### Getting help
|
|
24
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/compressed-token",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "JS client to interact with the compressed-token program",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/node/index.cjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"license": "Apache-2.0",
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@lightprotocol/stateless.js": "0.15.
|
|
39
|
+
"@lightprotocol/stateless.js": "0.15.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@coral-xyz/anchor": "0.29.0",
|