@story-protocol/core-sdk 1.0.0-rc.16 → 1.0.0-rc.18
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +6 -5
- package/dist/declarations/src/abi/generated.d.ts +1933 -640
- package/dist/declarations/src/abi/generated.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +2 -2
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAccount.d.ts +3 -3
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +37 -17
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/resources/nftClient.d.ts.map +1 -1
- package/dist/declarations/src/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/types/common.d.ts +1 -1
- package/dist/declarations/src/types/common.d.ts.map +1 -1
- package/dist/declarations/src/types/config.d.ts +2 -2
- package/dist/declarations/src/types/config.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAccount.d.ts +2 -1
- package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +22 -14
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/license.d.ts +3 -3
- package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
- package/dist/declarations/src/utils/sign.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +2999 -1527
- package/dist/story-protocol-core-sdk.cjs.prod.js +2999 -1527
- package/dist/story-protocol-core-sdk.esm.js +3000 -1528
- package/package.json +1 -1
package/README.md
CHANGED
@@ -51,7 +51,7 @@ The preceding code created the `account` object for creating the SDK client.
|
|
51
51
|
|
52
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.
|
53
53
|
|
54
|
-
> :information-source: Make sure to have RPC_PROVIDER_URL for your desired chain set up in your .env file. We recommend using the
|
54
|
+
> :information-source: Make sure to have RPC_PROVIDER_URL for your desired chain set up in your .env file. We recommend using the Iliad network with `RPC_PROVIDER_URL=https://rpc.partner.testnet.storyprotocol.net`.
|
55
55
|
|
56
56
|
```typescript index.ts
|
57
57
|
import { StoryClient, StoryConfig } from "@story-protocol/core-sdk";
|
@@ -98,15 +98,16 @@ In your testing environment:
|
|
98
98
|
|
99
99
|
- Run `yalc update` to pull the latest changes.
|
100
100
|
|
101
|
-
## Steps to pull and compile latest
|
101
|
+
## Steps to pull and compile latest Protocol Core & Periphery v1 Smart Contract ABIs (Currently pulls from the protocol-core-v1 and protocol-periphery-v1 `release-v1.x.x` branch)
|
102
102
|
|
103
103
|
- run `cd packages/wagmi-generator && npm run generate`
|
104
104
|
|
105
105
|
## Release
|
106
106
|
|
107
|
-
| Package
|
108
|
-
|
|
109
|
-
| [core-sdk](./packages/core-sdk)
|
107
|
+
| Package | Description |
|
108
|
+
| :-------------------------------- | :---------------------------------------------- |
|
109
|
+
| [core-sdk](./packages/core-sdk) | The core sdk for interacting with the protocol |
|
110
|
+
| [react-sdk](./packages/react-sdk) | The react sdk for interacting with the protocol |
|
110
111
|
|
111
112
|
## Contributing
|
112
113
|
|