You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,13 @@ To run properly, the iExec Blockchain Adapter API requires:
25
25
|`IEXEC_BLOCKCHAIN_ADAPTER_API_PASSWORD`| Login password of the server. | String |`whatever`|
26
26
|`IEXEC_BLOCKCHAIN_ADAPTER_API_MONGO_HOST`| Mongo server host. Cannot be set with URI. | String |`localhost`|
27
27
|`IEXEC_BLOCKCHAIN_ADAPTER_API_MONGO_PORT`| Mongo server port. Cannot be set with URI. | Positive integer |`13012`|
28
-
|`IEXEC_BLOCKCHAIN_ADAPTER_API_CHAIN_ID`| Chain ID of the blockchain network to connect. | Positive integer |`65535`|
29
-
|`IEXEC_BLOCKCHAIN_ADAPTER_API_NODE_ADDRESS`|URL to connect to the blockchain network. |URL|`http://localhost:8545`|
30
-
|`IEXEC_BLOCKCHAIN_ADAPTER_API_BLOCK_TIME`|In seconds, parameter of the targeted blockchain. |Positive integer |`1`|
31
-
|`IEXEC_BLOCKCHAIN_ADAPTER_API_HUB_ADDRESS`|Proxy contract address to interact with the iExec on-chain protocol. |Ethereum Address|`0xBF6B2B07e47326B7c8bfCb4A5460bef9f0Fd2002`|
32
-
|`IEXEC_BLOCKCHAIN_ADAPTER_API_IS_SIDECHAIN`|Define if iExec on-chain protocol is built on top of token (`false`) or native currency (`true`). |Boolean |`false`|
28
+
|`IEXEC_BLOCKCHAIN_ADAPTER_API_CHAIN_ID`| Chain ID of the blockchain network to connect. | Positive integer |`134`|
29
+
|`IEXEC_BLOCKCHAIN_ADAPTER_API_IS_SIDECHAIN`|Define whether iExec on-chain protocol is built on top of token (`false`) or native currency (`true`). |Boolean|`true`|
30
+
|`IEXEC_BLOCKCHAIN_ADAPTER_API_NODE_ADDRESS`|URL to connect to the blockchain network. |URL |`https://bellecour.iex.ec`|
31
+
|`IEXEC_BLOCKCHAIN_ADAPTER_API_BLOCK_TIME`|Duration between consecutive blocks on the blockchain network, in seconds. |Positive integer|`5`|
32
+
|`IEXEC_BLOCKCHAIN_ADAPTER_API_HUB_ADDRESS`|Proxy contract address to interact with the iExec on-chain protocol. |Ethereum Address |`0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f`|
33
33
|`IEXEC_BLOCKCHAIN_ADAPTER_API_GAS_PRICE_MULTIPLIER`| Transactions will be sent with `networkGasPrice * gasPriceMultiplier`. | Float |`1.0`|
34
34
|`IEXEC_BLOCKCHAIN_ADAPTER_API_GAS_PRICE_CAP`| In Wei, will be used for transactions if `networkGasPrice * gasPriceMultiplier > gasPriceCap`. | Positive integer |`22000000000`|
35
-
|`IEXEC_BLOCKCHAIN_ADAPTER_API_BROKER_URL`| URL of the broker to interact with when matching iExec orders. | URL |`http://localhost:3000`|
36
35
|`IEXEC_BLOCKCHAIN_ADAPTER_API_WALLET_PATH`| Path to the wallet of the server. | String |`src/main/resources/wallet.json`|
37
36
|`IEXEC_BLOCKCHAIN_ADAPTER_API_WALLET_PASSWORD`| Password to unlock the wallet of the server. | String |`whatever`|
38
37
@@ -49,3 +48,7 @@ No default strategy has been implemented in the [Dockerfile](docker/Dockerfile)
49
48
## CI/CD build
50
49
51
50
`docker image build -f docker/Dockerfile .`
51
+
52
+
## License
53
+
54
+
This repository code is released under the [Apache License 2.0](LICENSE).
Copy file name to clipboardExpand all lines: iexec-blockchain-adapter-api-library/src/main/java/com/iexec/blockchain/api/BlockchainAdapterApiClient.java
+2-18Lines changed: 2 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2022 IEXEC BLOCKCHAIN TECH
2
+
* Copyright 2022-2023 IEXEC BLOCKCHAIN TECH
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments