ryt-sdk 1.0.4 โ 1.0.6
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 +14 -12
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -3,19 +3,23 @@
|
|
|
3
3
|
<br>
|
|
4
4
|
<br>
|
|
5
5
|
|
|
6
|
-
[RYT](https://ryt.io/) is a
|
|
6
|
+
[RYT](https://ryt.io/) is a blockchain infrastructure platform that simplifies building, deploying,<br>
|
|
7
|
+
and interacting with smart contracts, wallets, and dApps. It provides a streamlined developer<br>
|
|
8
|
+
experience with tools for scalable and modular Web3 development.
|
|
9
|
+
|
|
10
|
+
<br>
|
|
7
11
|
|
|
8
12
|
This is our RYT blockchain sdk for provider, wallet, and smart contract interactions.
|
|
9
13
|
|
|
10
14
|
- โก This is only a quick start guide.
|
|
11
|
-
- ๐ For detail developer documentation and guide that how
|
|
15
|
+
- ๐ For detail developer documentation and guide that how <br>
|
|
16
|
+
to interact with ryt chain visit ๐ [Homepage](https://ryt-docs.vercel.app/)
|
|
12
17
|
|
|
13
18
|
<br>
|
|
14
19
|
<br>
|
|
15
20
|
|
|
16
|
-
|
|
17
21
|
### โ๏ธ Install
|
|
18
|
-
|
|
22
|
+
<br>
|
|
19
23
|
```bash
|
|
20
24
|
npm install ryt-sdk
|
|
21
25
|
```
|
|
@@ -25,11 +29,10 @@ or
|
|
|
25
29
|
yarn add ryt-sdk
|
|
26
30
|
```
|
|
27
31
|
|
|
28
|
-
<br>
|
|
29
32
|
<br>
|
|
30
33
|
|
|
31
34
|
### ๐ Environment Setup
|
|
32
|
-
|
|
35
|
+
<br>
|
|
33
36
|
Create a .env file:
|
|
34
37
|
|
|
35
38
|
```bash
|
|
@@ -43,10 +46,10 @@ SALT=random_salt
|
|
|
43
46
|
MATH_LIB_ADDRESS=0xLibraryAddress
|
|
44
47
|
```
|
|
45
48
|
|
|
46
|
-
<br>
|
|
47
49
|
<br>
|
|
48
50
|
|
|
49
51
|
### โก 30-Second Quickstart
|
|
52
|
+
<br>
|
|
50
53
|
|
|
51
54
|
```bash
|
|
52
55
|
import RYTProvider from "ryt-sdk/provider";
|
|
@@ -66,11 +69,12 @@ const tx = await contract.write("transfer", to, 100n);
|
|
|
66
69
|
await tx.wait();
|
|
67
70
|
```
|
|
68
71
|
|
|
69
|
-
<br>
|
|
70
72
|
<br>
|
|
71
73
|
|
|
72
74
|
### ๐ Overview
|
|
73
75
|
|
|
76
|
+
<br>
|
|
77
|
+
|
|
74
78
|
RYT SDK is a modular blockchain development toolkit designed to simplify:
|
|
75
79
|
|
|
76
80
|
- Smart contract interaction
|
|
@@ -82,11 +86,10 @@ RYT SDK is a modular blockchain development toolkit designed to simplify:
|
|
|
82
86
|
- Library-linked contracts
|
|
83
87
|
|
|
84
88
|
<br>
|
|
85
|
-
<br>
|
|
86
89
|
|
|
87
90
|
|
|
88
91
|
### ๐งช Testing
|
|
89
|
-
|
|
92
|
+
<br>
|
|
90
93
|
To run tests, run the following commands:
|
|
91
94
|
|
|
92
95
|
```bash
|
|
@@ -94,11 +97,10 @@ To run tests, run the following commands:
|
|
|
94
97
|
npm run contractsTest
|
|
95
98
|
```
|
|
96
99
|
|
|
97
|
-
<br>
|
|
98
100
|
<br>
|
|
99
101
|
|
|
100
102
|
### ๐ License
|
|
101
|
-
|
|
103
|
+
<br>
|
|
102
104
|
[MIT](https://choosealicense.com/licenses/mit/)ยฉ 2026 RYT Core Team
|
|
103
105
|
|
|
104
106
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ryt-sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"description": "RYT blockchain SDK for provider, wallet, and smart contract interactions",
|
|
6
6
|
"author": "Muhammad Hammad Mubeen",
|
|
7
7
|
"license": "MIT",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"blockchain",
|
|
32
32
|
"sdk",
|
|
33
33
|
"ryt",
|
|
34
|
+
"ryt-sdk",
|
|
34
35
|
"ethereum",
|
|
35
36
|
"web3",
|
|
36
37
|
"ethers-v6",
|