@story-protocol/core-sdk 0.0.1-beta-rc.4 → 0.0.1-beta-rc.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/README.md +97 -43
  2. package/dist/declarations/src/client.d.ts +31 -7
  3. package/dist/declarations/src/client.d.ts.map +1 -1
  4. package/dist/declarations/src/constants/common.d.ts +1 -0
  5. package/dist/declarations/src/constants/common.d.ts.map +1 -1
  6. package/dist/declarations/src/index.d.ts +2 -3
  7. package/dist/declarations/src/index.d.ts.map +1 -1
  8. package/dist/declarations/src/resources/dispute.d.ts +0 -20
  9. package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
  10. package/dist/declarations/src/resources/ipAccount.d.ts +732 -0
  11. package/dist/declarations/src/resources/{tagging.d.ts.map → ipAccount.d.ts.map} +1 -1
  12. package/dist/declarations/src/resources/ipAsset.d.ts +53 -36
  13. package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
  14. package/dist/declarations/src/resources/license.d.ts +44 -41
  15. package/dist/declarations/src/resources/license.d.ts.map +1 -1
  16. package/dist/declarations/src/resources/permission.d.ts +3 -43
  17. package/dist/declarations/src/resources/permission.d.ts.map +1 -1
  18. package/dist/declarations/src/resources/policy.d.ts +99 -82
  19. package/dist/declarations/src/resources/policy.d.ts.map +1 -1
  20. package/dist/declarations/src/types/resources/ipAccount.d.ts +25 -0
  21. package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -0
  22. package/dist/declarations/src/types/resources/ipAsset.d.ts +5 -5
  23. package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
  24. package/dist/declarations/src/types/resources/permission.d.ts +3 -3
  25. package/dist/declarations/src/types/resources/permission.d.ts.map +1 -1
  26. package/dist/declarations/src/types/resources/policy.d.ts +39 -1
  27. package/dist/declarations/src/types/resources/policy.d.ts.map +1 -1
  28. package/dist/story-protocol-core-sdk.cjs.dev.js +734 -285
  29. package/dist/story-protocol-core-sdk.cjs.prod.js +734 -285
  30. package/dist/story-protocol-core-sdk.esm.js +736 -286
  31. package/package.json +1 -1
  32. package/dist/declarations/src/resources/tagging.d.ts +0 -718
  33. package/dist/declarations/src/types/resources/tagging.d.ts +0 -23
  34. package/dist/declarations/src/types/resources/tagging.d.ts.map +0 -1
package/README.md CHANGED
@@ -1,70 +1,124 @@
1
- core-sdk is the base level sdk to interact with story protocol. It provides functions to both read and write data to the protocol.
1
+ # Story Protocol SDK
2
2
 
3
- ## Installation
3
+ Welcome to the documents for Story Protocol SDK. The SDK provides the APIs for developers to build applications with Story Protocol. By using the SDK, developers can create the resources like IP assets and perform actions to interact with the resource.
4
4
 
5
- Install the SDK and ethers.js
5
+ ## How to use Story Protocol SDK in Your Project
6
6
 
7
- npm
7
+ ### Install Story Protocol core SDK
8
8
 
9
- ```shell
10
- npm i @story-protocol/core-sdk ethers@^5.7.2
11
- ```
9
+ Suppose you already have a node project or created a new node project. First, you need to install `@story-protocol/core-sdk` in your project. You can use one of the following command to install the package:
12
10
 
13
- pnpm
11
+ Use `npm`:
14
12
 
15
- ```shell
16
- pnpm i @story-protocol/core-sdk ethers@^5.7.2
13
+ ```
14
+ npm install --save @story-protocol/core-sdk viem@1.21.4
17
15
  ```
18
16
 
19
- yarn
17
+ Use `pnpm`:
20
18
 
21
- ```shell
22
- yarn add @story-protocol/core-sdk ethers@^5.7.2
19
+ ```
20
+ pnpm install @story-protocol/core-sdk viem@1.21.4
23
21
  ```
24
22
 
25
- ## Set up `.env` file
26
-
27
- (Ask the team to provide the values)
23
+ Use `yarn`:
28
24
 
29
25
  ```
30
- NEXT_PUBLIC_API_BASE_URL =
31
- NEXT_PUBLIC_FRANCHISE_REGISTRY_CONTRACT =
32
- NEXT_PUBLIC_RELATIONSHIP_MODULE_CONTRACT =
33
- NEXT_PUBLIC_COLLECT_MODULE_CONTRACT =
34
- NEXT_PUBLIC_LICENSING_MODULE_CONTRACT =
26
+ yarn add @story-protocol/core-sdk viem@1.21.4
35
27
  ```
36
28
 
37
- ## Set up SDK client
29
+ Besides the Story Protocol SDK package `@story-protocol/core-sdk`, we also require the package `viem` (https://www.npmjs.com/package/viem) to access the DeFi wallet accounts.
38
30
 
39
- Using browser wallet
31
+ # Initiate SDK Client
40
32
 
41
- ```typescript
42
- import { StoryClient } from "@story-protocol/core-sdk";
43
- import ethers from "ethers";
33
+ Next we can initiate the SDK Client by first setting up our wallet and then the client itself.
44
34
 
45
- // Provider/Signer from browser wallet (i.e Metamask)
46
- const provider = new ethers.providers.Web3Provider(window.ethereum);
47
- await provider.send("eth_requestAccounts", []);
48
- const signer = await provider.getSigner();
35
+ ## Set up your wallet
49
36
 
50
- // Instantiate a read-only Story Client with an optional provider
51
- const client = StoryClient.newReadOnlyClient({ provider });
37
+ The SDK supports using `viem` for initiating SDK client. Create a typescript file and write the following code to initiate the client with a private key:
52
38
 
53
- // Instatiate a read/write Story Client with a signer
54
- const client = StoryClient.newClient({ signer });
39
+ > :information-source: Make sure to have WALLET_PRIVATE_KEY set up in your .env file.
40
+
41
+ ```typescript index.ts
42
+ import { privateKeyToAccount } from "viem/accounts";
43
+
44
+ const PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY || "0x";
45
+ const account = privateKeyToAccount(WALLET_PRIVATE_KEY as `0x${string}`);
55
46
  ```
56
47
 
57
- Using private key
48
+ The preceding code created the `account` object for creating the SDK client.
49
+
50
+ ## Set up SDK client
58
51
 
59
- ```typescript
60
- import { StoryClient } from "@story-protocol/core-sdk"
61
- import ethers from "ethers"
52
+ To set up the SDK client, import `StoryClient` and `StoryConfig` from `@story-protocol/core-sdk`. Write the following code, utilizing the `account` we created previously.
62
53
 
63
- // Signer from private key
64
- const provider = new ethers.providers.JsonRpcProvider(<YOUR RPC URL>)
65
- const signer = new ethers.Wallet(<YOUR PRIVATE KEY>, provider)
54
+ > :information-source: Make sure to have RPC_PROVIDER_URL for your desired chain set up in your .env file. We recommend using the Sepolia network with `RPC_PROVIDER_URL=https://rpc.ankr.com/eth_sepolia`.
66
55
 
67
- // Instantiate the Story Client
68
- const client = StoryClient.newClient({ signer })
56
+ ```typescript index.ts
57
+ import { StoryClient, StoryConfig } from "@story-protocol/core-sdk";
69
58
 
59
+ const config: StoryConfig = {
60
+ transport: http(process.env.RPC_PROVIDER_URL),
61
+ account: account,
62
+ };
63
+ const client = StoryClient.newClient(config);
70
64
  ```
65
+
66
+ ## How To Build and Test Story Protocol SDK for local testing
67
+
68
+ This section provides the instructions on how to build Story Protocol SDK from source code.
69
+
70
+ ### Prerequisite
71
+
72
+ - Install PNPM: Execute `npm install -g pnpm`
73
+ - Install TypeScript: Run `pnpm add typescript -D`
74
+ - Install Yalc: Use `npm install -g yalc`
75
+
76
+ ### Steps for Using Yalc for Local Testing of Core-SDK
77
+
78
+ For manual testing of the core-sdk, set up a separate web project. The guide below uses `yalc` to link the `core-sdk` locally, enabling its installation and import for testing.
79
+
80
+ Under the `typescript-sdk/packages/core-sdk` directory:
81
+
82
+ - Navigate to the `core-sdk` directory.
83
+ - Execute `npm run build` to build your latest code.
84
+ - Run `yalc publish`. You should see a message like `@story-protocol/core-sdk@<version> published in store.` (Note: The version number may vary).
85
+
86
+ To set up your testing environment (e.g., a new Next.js project), use `yalc add @story-protocol/core-sdk@<version>` (ensure the version number is updated accordingly).
87
+
88
+ - Run `pnpm install`. This installs `@story-protocol/core-sdk@<version>` with your local changes.
89
+
90
+ ### Steps to Refresh the Changes
91
+
92
+ Under the `typescript-sdk/packages/core-sdk` directory:
93
+
94
+ - Execute `npm run build` to build your latest code.
95
+ - Run `yalc push`.
96
+
97
+ In your testing environment:
98
+
99
+ - Run `yalc update` to pull the latest changes.
100
+
101
+ ## Steps to pull and compile latest smart contract ABIs (Currently pulls from the protocol-contracts `dev` branch)
102
+
103
+ Must have `solc` installed (https://docs.soliditylang.org/en/v0.8.9/installing-solidity.html)
104
+
105
+ - run `make compile_contracts`
106
+
107
+ ## Release
108
+
109
+ | Package | Description |
110
+ | :------------------------------ | :--------------------------------------------- |
111
+ | [core-sdk](./packages/core-sdk) | The core sdk for interacting with the protocol |
112
+
113
+ ## Contributing
114
+
115
+ Pull requests are welcome. For major changes, please open an issue first
116
+ to discuss what you would like to change. Details see: [CONTRIBUTING](/CONTRIBUTING.md)
117
+
118
+ Please make sure to update tests as appropriate.
119
+
120
+ ## License
121
+
122
+ [MIT License](/LICENSE.md)
123
+
124
+ ## Contact Us
@@ -1,10 +1,10 @@
1
1
  import { StoryConfig } from "./types/config.js";
2
- import { TaggingClient } from "./resources/tagging.js";
3
2
  import { IPAssetClient } from "./resources/ipAsset.js";
4
3
  import { PermissionClient } from "./resources/permission.js";
5
4
  import { LicenseClient } from "./resources/license.js";
6
5
  import { PolicyClient } from "./resources/policy.js";
7
6
  import { DisputeClient } from "./resources/dispute.js";
7
+ import { IPAccountClient } from "./resources/ipAccount.js";
8
8
  /**
9
9
  * The StoryClient is the main entry point for the SDK.
10
10
  */
@@ -13,12 +13,12 @@ export declare class StoryClient {
13
13
  private readonly rpcClient;
14
14
  private readonly wallet;
15
15
  private readonly storyClient;
16
- private _ipAccount;
16
+ private _ipAsset;
17
17
  private _permission;
18
18
  private _license;
19
19
  private _policy;
20
- private _tagging;
21
20
  private _dispute;
21
+ private _ipAccount;
22
22
  /**
23
23
  * @param config - the configuration for the SDK client
24
24
  */
@@ -29,17 +29,34 @@ export declare class StoryClient {
29
29
  * @param config - the configuration for a new SDK client
30
30
  */
31
31
  static newClient(config: StoryConfig): StoryClient;
32
+ /**
33
+ * Getter for the ip asset client. The client is lazily created when
34
+ * this method is called.
35
+ *
36
+ * @returns the IPAssetClient instance
37
+ */
32
38
  get ipAsset(): IPAssetClient;
39
+ /**
40
+ * Getter for the permission client. The client is lazily created when
41
+ * this method is called.
42
+ *
43
+ * @returns the PermissionClient instance
44
+ */
33
45
  get permission(): PermissionClient;
46
+ /**
47
+ * Getter for the license client. The client is lazily created when
48
+ * this method is called.
49
+ *
50
+ * @returns the LicenseClient instance
51
+ */
34
52
  get license(): LicenseClient;
35
- get policy(): PolicyClient;
36
53
  /**
37
- * Getter for the tagging client. The client is lazily created when
54
+ * Getter for the policy client. The client is lazily created when
38
55
  * this method is called.
39
56
  *
40
- * @returns the TaggingClient instance
57
+ * @returns the PolicyClient instance
41
58
  */
42
- get tagging(): TaggingClient;
59
+ get policy(): PolicyClient;
43
60
  /**
44
61
  * Getter for the dispute client. The client is lazily created when
45
62
  * this method is called.
@@ -47,5 +64,12 @@ export declare class StoryClient {
47
64
  * @returns the DisputeClient instance
48
65
  */
49
66
  get dispute(): DisputeClient;
67
+ /**
68
+ * Getter for the ip account client. The client is lazily created when
69
+ * this method is called.
70
+ *
71
+ * @returns the IPAccountClient instance
72
+ */
73
+ get ipAccount(): IPAccountClient;
50
74
  }
51
75
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"../../../src","sources":["client.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,0BAAuB;AAC7C,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,gBAAgB,EAAE,kCAA+B;AAC1D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,YAAY,EAAE,8BAA2B;AAClD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AAOpD;;GAEG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;IACrC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IACtC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAiB;IAE7C,OAAO,CAAC,UAAU,CAA8B;IAChD,OAAO,CAAC,WAAW,CAAiC;IACpD,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,OAAO,CAA6B;IAC5C,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,QAAQ,CAA8B;IAE9C;;OAEG;IACH,OAAO;I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;IAED;;;;;OAKG;IACH,IAAW,UAAU,IAAI,gBAAgB,CAMxC;IAED;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAMlC;IAED;;;;;OAKG;IACH,IAAW,MAAM,IAAI,YAAY,CAMhC;IAED;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAMlC;IAED;;;;;OAKG;IACH,IAAW,SAAS,IAAI,eAAe,CAMtC;CACF"}
@@ -1,3 +1,4 @@
1
1
  export declare const AddressZero = "0x0000000000000000000000000000000000000000";
2
2
  export declare const HashZero = "0x0000000000000000000000000000000000000000000000000000000000000000";
3
+ export declare const SepoliaChainId = "11155111";
3
4
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"../../../../src/constants","sources":["common.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,+CAA+C,CAAC;AAExE,eAAO,MAAM,QAAQ,uEAAuE,CAAC"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"../../../../src/constants","sources":["common.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,+CAA+C,CAAC;AAExE,eAAO,MAAM,QAAQ,uEAAuE,CAAC;AAE7F,eAAO,MAAM,cAAc,aAAa,CAAC"}
@@ -4,14 +4,13 @@ export { IPAssetClient } from "./resources/ipAsset.js";
4
4
  export { PermissionClient } from "./resources/permission.js";
5
5
  export { LicenseClient } from "./resources/license.js";
6
6
  export { PolicyClient } from "./resources/policy.js";
7
- export { TaggingClient } from "./resources/tagging.js";
8
7
  export { DisputeClient } from "./resources/dispute.js";
9
8
  export type { StoryConfig } from "./types/config.js";
10
9
  export type { Hex, TypedData } from "./types/common.js";
11
10
  export type { RegisterRootIpRequest, RegisterRootIpResponse, RegisterDerivativeIpRequest, RegisterDerivativeIpResponse, } from "./types/resources/ipAsset.js";
12
11
  export type { MintLicenseRequest, MintLicenseResponse, LinkIpToParentRequest, LinkIpToParentResponse, } from "./types/resources/license.js";
13
12
  export type { RegisterPILPolicyRequest, RegisterPILPolicyResponse, AddPolicyToIpRequest, AddPolicyToIpResponse, } from "./types/resources/policy.js";
14
- export type { setPermissionsRequest, setPermissionsResponse } from "./types/resources/permission.js";
15
- export type { SetTagRequest, SetTagResponse, RemoveTagRequest, RemoveTagResponse, } from "./types/resources/tagging.js";
13
+ export type { SetPermissionsRequest, SetPermissionsResponse } from "./types/resources/permission.js";
16
14
  export type { Dispute, RaiseDisputeRequest, RaiseDisputeResponse, SetDisputeJudgementRequest, SetDisputeJudgementResponse, CancelDisputeRequest, CancelDisputeResponse, ResolveDisputeRequest, ResolveDisputeResponse, } from "./types/resources/dispute.js";
15
+ export type { IPAccountExecuteRequest, IPAccountExecuteResponse, IPAccountExecuteWithSigRequest, IPAccountExecuteWithSigResponse, } from "./types/resources/ipAccount.js";
17
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAiB;AACvC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,8BAA2B;AAE3D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,gBAAgB,EAAE,kCAA+B;AAC1D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,YAAY,EAAE,8BAA2B;AAClD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AAEpD,YAAY,EAAE,WAAW,EAAE,0BAAuB;AAClD,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,0BAAuB;AAErD,YAAY,EACV,qBAAqB,EACrB,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,GAC7B,qCAAkC;AAEnC,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,GACvB,qCAAkC;AAEnC,YAAY,EACV,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,EACrB,sBAAsB,GACvB,qCAAkC;AAEnC,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,GAChC,uCAAoC"}
@@ -652,26 +652,6 @@ export declare class DisputeClient {
652
652
  readonly inputs: readonly [];
653
653
  readonly name: "RoyaltyPolicyLAP__ZeroRoyaltyModule";
654
654
  readonly type: "error";
655
- } | {
656
- readonly inputs: readonly [];
657
- readonly name: "TaggingModule__DstIpIdDoesNotHaveDstTag";
658
- readonly type: "error";
659
- } | {
660
- readonly inputs: readonly [];
661
- readonly name: "TaggingModule__InvalidRelationTypeName";
662
- readonly type: "error";
663
- } | {
664
- readonly inputs: readonly [];
665
- readonly name: "TaggingModule__RelationTypeAlreadyExists";
666
- readonly type: "error";
667
- } | {
668
- readonly inputs: readonly [];
669
- readonly name: "TaggingModule__RelationTypeDoesNotExist";
670
- readonly type: "error";
671
- } | {
672
- readonly inputs: readonly [];
673
- readonly name: "TaggingModule__SrcIpIdDoesNotHaveSrcTag";
674
- readonly type: "error";
675
655
  } | {
676
656
  readonly anonymous: false;
677
657
  readonly inputs: readonly [{
@@ -1 +1 @@
1
- {"version":3,"file":"dispute.d.ts","sourceRoot":"../../../../src/resources","sources":["dispute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAe,MAAM,MAAM,CAAC;AAI/D,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACvB,sCAAmC;AAGpC,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IACtC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IAClC,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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