ryt-sdk 1.0.7 → 1.0.9
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 +2 -2
- package/dist/contract.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Create a .env file
|
|
|
42
42
|
<br>
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
```
|
|
45
|
+
```javascript
|
|
46
46
|
PRIVATE_KEY=your_private_key
|
|
47
47
|
RPC_URL=https://your-rpc-url
|
|
48
48
|
CHAIN_ID=1234
|
|
@@ -58,7 +58,7 @@ MATH_LIB_ADDRESS=0xLibraryAddress
|
|
|
58
58
|
### ⚡ 30-Second Quickstart
|
|
59
59
|
<br>
|
|
60
60
|
|
|
61
|
-
```
|
|
61
|
+
```javascript
|
|
62
62
|
import RYTProvider from "ryt-sdk/provider";
|
|
63
63
|
import RYTWallet from "ryt-sdk/wallet";
|
|
64
64
|
import RYTContract from "ryt-sdk/contract";
|
package/dist/contract.js
CHANGED
|
@@ -34,7 +34,7 @@ async function linkLibraries(bytecode, linkReferences, libraries) {
|
|
|
34
34
|
linked =
|
|
35
35
|
linked.slice(0, start * 2) +
|
|
36
36
|
address.padStart(length * 2, "0") +
|
|
37
|
-
linked.slice((start + length) * 2);
|
|
37
|
+
linked.slice((start + (length - 1)) * 2);
|
|
38
38
|
}
|
|
39
39
|
return linked;
|
|
40
40
|
}
|
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.9",
|
|
5
5
|
"description": "RYT blockchain SDK for provider, wallet, and smart contract interactions",
|
|
6
6
|
"author": "Muhammad Hammad Mubeen",
|
|
7
7
|
"license": "MIT",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
},
|
|
62
62
|
"repository": {
|
|
63
63
|
"type": "git",
|
|
64
|
-
"url": "https://github.com/
|
|
64
|
+
"url": "https://github.com/ryt-io/ryt-sdk.git"
|
|
65
65
|
},
|
|
66
66
|
"homepage": "https://ryt-docs.vercel.app",
|
|
67
67
|
"bugs": {
|
|
68
|
-
"url": "https://github.com/
|
|
68
|
+
"url": "https://github.com/ryt-io/ryt-sdk/issues"
|
|
69
69
|
}
|
|
70
70
|
}
|