3land_sdk 1.0.0 → 1.0.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
CHANGED
@@ -38,10 +38,8 @@ Clone the repo
|
|
38
38
|
|
39
39
|
```bash
|
40
40
|
git clone https://github.com/biccsdev/3land_sdk.git
|
41
|
-
# TODO: add to npm
|
42
|
-
# npm install @3land/solana-sdk
|
43
41
|
# or
|
44
|
-
|
42
|
+
npm install 3land_sdk
|
45
43
|
```
|
46
44
|
|
47
45
|
Run this command to install all the packages needed for the sdk
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
@@ -18,8 +18,7 @@ async function main() {
|
|
18
18
|
// };
|
19
19
|
|
20
20
|
const optionsWithBase58: StoreInitOptions = {
|
21
|
-
privateKey:
|
22
|
-
"2ixmpz6W9aAE7HDqCJYy1tsqQcAHhkuP54jTPGnTyqvYHJearwT16DzmkkaQLARB9TshZvoS3WE5dQg183wryVCC",
|
21
|
+
privateKey: "", //your private key
|
23
22
|
};
|
24
23
|
|
25
24
|
const storeSetup: CreateStoreParams = {
|
@@ -97,7 +97,7 @@ async function createStoreImp(
|
|
97
97
|
}
|
98
98
|
}
|
99
99
|
|
100
|
-
async function
|
100
|
+
async function createCollectionImp(
|
101
101
|
options: StoreInitOptions,
|
102
102
|
collectionOpts: CreateCollectionOptions
|
103
103
|
) {
|
@@ -382,4 +382,10 @@ function handleError(error: unknown) {
|
|
382
382
|
}
|
383
383
|
}
|
384
384
|
|
385
|
-
export {
|
385
|
+
export {
|
386
|
+
createStoreImp,
|
387
|
+
createCollectionImp,
|
388
|
+
createSingleImp,
|
389
|
+
buySingleImp,
|
390
|
+
handleError,
|
391
|
+
};
|