Skip to content

Commit d79cd3a

Browse files
Revelationxlclaude
andcommitted
docs: update README with TEN Testnet configuration
- Remove outdated Infura references - Add TEN Gateway token instructions - Add deployed contract addresses - Add network details and block explorer link Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2a00d2c commit d79cd3a

1 file changed

Lines changed: 26 additions & 9 deletions

File tree

README.md

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CipherSwap
22

3+
A decentralized exchange built on [TEN Protocol](https://ten.xyz) - the encrypted Ethereum L2.
4+
35
## Development
46

57
### Install Dependencies
@@ -8,21 +10,36 @@
810
yarn
911
```
1012

13+
### Configure Environment
14+
15+
1. Copy `.env` to `.env.local`
16+
2. Get a TEN Gateway token from [https://testnet.ten.xyz](https://testnet.ten.xyz)
17+
3. Update `.env.local`:
18+
19+
```bash
20+
REACT_APP_CHAIN_ID="8443"
21+
REACT_APP_NETWORK_URL="https://testnet.ten.xyz/v1/?token=YOUR_TEN_GATEWAY_TOKEN"
22+
```
23+
1124
### Run
1225

1326
```bash
1427
yarn start
1528
```
1629

17-
### Configuring the environment (optional)
30+
## Deployed Contracts (TEN Testnet)
1831

19-
To have the interface default to a different network when a wallet is not connected:
32+
| Contract | Address |
33+
|----------|---------|
34+
| Factory | `0x38b8773E1B048fbBb4f4620b2861db8703aBE7b9` |
35+
| Router | `0x9cF6C659F173916f4928420E72DE53E667DbDf73` |
36+
| Multicall | `0x29A8E964a4e220e3438e39dDDd01B4A3305A7c54` |
37+
| ALPHA Token | `0x910c2a26649063a37fc507EC827fF7f6784133a1` |
38+
| BETA Token | `0xD3C60e71391b8F481222546c80F046a73AA4611f` |
2039

21-
1. Make a copy of `.env` named `.env.local`
22-
2. Change `REACT_APP_NETWORK_ID` to `"{YOUR_NETWORK_ID}"`
23-
3. Change `REACT_APP_NETWORK_URL` to e.g. `"https://{YOUR_NETWORK_ID}.infura.io/v3/{YOUR_INFURA_KEY}"`
40+
## Network Details
2441

25-
Note that the interface only works on testnets where both
26-
[Uniswap V2](https://uniswap.org/docs/v2/smart-contracts/factory/) and
27-
[multicall](https://github.com/makerdao/multicall) are deployed.
28-
The interface will not work on other networks.
42+
- **Network**: TEN Testnet
43+
- **Chain ID**: 8443
44+
- **RPC**: `https://testnet.ten.xyz/v1/?token=YOUR_TOKEN`
45+
- **Block Explorer**: [https://testnet.tenscan.io](https://testnet.tenscan.io)

0 commit comments

Comments
 (0)