Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dapp/.env.override
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
WEB3TELEGRAM_IPFS_GATEWAY=https://ipfs-gateway.v8-bellecour.iex.ec
WEB3TELEGRAM_IPFS_GATEWAY=https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec
IEXEC_IN=/path/to/input/directory
IEXEC_OUT=/path/to/output/directory
IEXEC_DATASET_FILENAME="protectedData.zip"
Expand Down
6 changes: 3 additions & 3 deletions dapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fill in the environment variables:
- **IEXEC_DATASET\_\<index\>\_FILENAME**: The name of the data file for dataset at index <index> (starting from 1) that you place in the **IEXEC_IN** directory.
- **IEXEC_APP_DEVELOPER_SECRET**: A JSON string with the following keys:
- **TELEGRAM_BOT_TOKEN**: The API key of the telegram bot used to send the message.
- **WEB3TELEGRAM_IPFS_GATEWAY**: Base URL of the iExec IPFS gateway used to download encrypted message content (must match the chain where content was pinned, e.g. `https://ipfs-gateway.v8-bellecour.iex.ec` or `https://ipfs-gateway.arbitrum-mainnet.iex.ec`). Baked into release images via the deploy workflow; required for local runs.
- **WEB3TELEGRAM_IPFS_GATEWAY**: Base URL of the iExec IPFS gateway used to download encrypted message content (must match the chain where content was pinned, e.g. `https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec` or `https://ipfs-gateway.arbitrum-mainnet.iex.ec`). Baked into release images via the deploy workflow; required for local runs.
- **IEXEC_REQUESTER_SECRET_1**: A JSON string with the following keys:
- **telegramContentMultiAddr**: Multiaddress pointing to the encrypted message content to send.
- **telegramContentEncryptionKey**: The encryption key used to encrypt the content.
Expand All @@ -45,7 +45,7 @@ The Dapp will send a telegram message using the object and content specified in

```sh
docker build . --tag web3telegram-dapp \
--build-arg WEB3TELEGRAM_IPFS_GATEWAY=https://ipfs-gateway.v8-bellecour.iex.ec
--build-arg WEB3TELEGRAM_IPFS_GATEWAY=https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec
```

Use the gateway URL for the same chain as your pinned content (see `src/config/config.ts` `ipfsGateway` per chain).
Expand Down Expand Up @@ -73,7 +73,7 @@ The Dapp will send a telegram message using the object and content specified in
-e IEXEC_IN=/iexec_in \
-e IEXEC_OUT=/iexec_out \
-e IEXEC_DATASET_FILENAME=data.zip \
-e WEB3TELEGRAM_IPFS_GATEWAY=https://ipfs-gateway.v8-bellecour.iex.ec \
-e WEB3TELEGRAM_IPFS_GATEWAY=https://ipfs-gateway.arbitrum-sepolia-testnet.iex.ec \
IEXEC_REQUESTER_SECRET_1='{"telegramContentEncryptionKey":"telegram_content_encryption_key","telegramContentMultiAddr":"encrypted_telegram_content_multiaddress","senderName":"sender_name","contentType":"text/plain"}' \
web3telegram-dapp
```
Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ npm run stop-test-stack

The local test stack includes the following services:

- **bellecour-fork:** a blockchain node for testing
- **arbitrum-sepolia-fork:** a blockchain node forking Arbitrum Sepolia for testing
- **sms:** iExec Secret Management Service (iExec SMS)
- **result-proxy-mongo:** mongoDB instance to persist data for the result proxy
- **ipfs:** IPFS node for storing and retrieving task results
Expand Down
Loading