Skip to content

Commit fbe926a

Browse files
committed
fix: update TDX experimental guide with DataProtector SDK configuration details
- Added instructions for configuring the iExec DataProtector SDK with the correct SMS endpoint for TDX support. - Included a warning about changing the default worker pool in the protected Data declaration to ensure proper functionality.
1 parent 1fc56a9 commit fbe926a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/build-iapp/guides/using-tdx-experimental.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,30 @@ EXPERIMENTAL_TDX_APP=true iapp debug <taskId>
9595
iexec app show <app-address>
9696
```
9797

98+
###
99+
100+
⚠️ **To use** the iExec DataProtector SDK with TDX support, you must configure
101+
the SDK with the right SMS endpoint.
102+
103+
```jsx
104+
const dataProtector = new IExecDataProtector(web3Provider, {
105+
iexecOptions: {
106+
smsURL: 'https://sms.labs.iex.ec',
107+
},
108+
});
109+
```
110+
111+
⚠️**You need** to change the default worker pool in your protected Data
112+
declaration
113+
114+
```jsx
115+
await dataProtector.core.processProtectedData({
116+
protectedData: protectedData.address,
117+
workerpool: 'tdx-labs.pools.iexec.eth',
118+
app: '0x1919ceb0c6e60f3B497936308B58F9a6aDf071eC',
119+
});
120+
```
121+
98122
## Protected Data Compatibility
99123

100124
:::warning Protected Data Requirements

0 commit comments

Comments
 (0)