Skip to content

Commit 8a41a7c

Browse files
authored
Update ecosystem-tools.md
1 parent c488041 commit 8a41a7c

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docs/ecosystem-tools.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Ecosystem Tools
2+
23
You can find the implementation of ecosystem tools in the following location:
34

4-
File Path: packages/core/src/ecosystem-tools.ts
5+
File Path: [packages/core/src/ecosystem-tools.ts](https://github.com/docknetwork/react-native-sdk/blob/5dfbcb197b848802478d2f7a697286a8c3c28823/packages/core/src/ecosystem-tools.ts#L4)
6+
57
## Usage Example
8+
69
Below is an example demonstrating how to use getEcosystems to retrieve ecosystem information based on an issuer's DID.
710

8-
Importing the Function
9-
First, ensure you import getEcosystems from the SDK:
11+
Importing the Function First, ensure you import getEcosystems from the SDK:
1012

1113
```js
1214
import {getEcosystems} from '@docknetwork/wallet-sdk-core/src/ecosystem-tools';
@@ -26,6 +28,7 @@ fetchEcosystemDetails();
2628
```
2729

2830
## Expected Output
31+
2932
When you run the above code, you should expect an output similar to this:
3033

3134
```json
@@ -37,10 +40,11 @@ When you run the above code, you should expect an output similar to this:
3740
}
3841
}
3942
```
43+
4044
This JSON output contains the details of the ecosystems associated with the given issuerDID.
4145

4246
## Integration Tests
47+
4348
For more examples and usage, please refer to the integration test at:
4449

45-
Test File Path: integration-tests/ecosystem-tools.test.ts
46-
This test file provides comprehensive examples on how to interact with ecosystem tools effectively.
50+
Test File Path: https://github.com/docknetwork/react-native-sdk/blob/master/integration-tests/ecosystem-tools.test.ts This test file provides comprehensive examples on how to interact with ecosystem tools effectively.

0 commit comments

Comments
 (0)