@d20dao/vrf-sdk 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BUILD-MANIFEST.json +1 -1
- package/README.md +17 -2
- package/package.json +1 -1
package/BUILD-MANIFEST.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"contracts/D20Proxy.sol": "83dcef3b72e2a0a4809c2d8df0d083d2a0f659fe2b3b01fadb1b2eaf8afb7286"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
"packageLockSha256": "
|
|
29
|
+
"packageLockSha256": "c79d88d461128cdb8da152c6562e432979cb15c393ca026d9e8268a6859671f8",
|
|
30
30
|
"buildDependencies": {
|
|
31
31
|
"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol": "41a3040398d53999dea3251ff8906e11ec1a699362a1d8f4a55bfc7709cc00f3",
|
|
32
32
|
"@openzeppelin/contracts/utils/ReentrancyGuard.sol": "94e409e8f6e3184236651a6cc2b1a6a3ea0f0a25eb85b71e524ad5791bb2fbc8",
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# d20dao VRF SDK
|
|
2
2
|
|
|
3
|
-
Public replay, mapping, epoch evidence, off-chain fee quoting and Solidity consumer helpers for a general randomness service. Package: `@d20dao/vrf-sdk` `0.3.
|
|
3
|
+
Public replay, mapping, epoch evidence, off-chain fee quoting and Solidity consumer helpers for a general randomness service. Package: `@d20dao/vrf-sdk` `0.3.2`.
|
|
4
4
|
|
|
5
5
|
## Getting started
|
|
6
6
|
|
|
@@ -129,9 +129,24 @@ SDK installation provides consumer and verification tooling. Chain availability,
|
|
|
129
129
|
|
|
130
130
|
Obtain proxy addresses, implementation addresses and independently checked code hashes from the keeper's deployment manifests, and check that the coordinator implementation at your chain's proxy exposes `quoteFee`/`quoteFeeAt` (its code hash matches the manifest entry for this protocol version) before relying on this SDK's interface. The testnet upgrade to this protocol version and the Arc mainnet deployment are published there when confirmed.
|
|
131
131
|
|
|
132
|
+
### Arc Mainnet
|
|
133
|
+
|
|
134
|
+
Chain ID: **5042**. The live service; use the **coordinator proxy** when constructing a consumer. Owner and fee recipient: DAO treasury Safe `0xB57f656149749eff6b496dF090336491f977E744`.
|
|
135
|
+
|
|
136
|
+
| Contract | Role | Arc Mainnet address |
|
|
137
|
+
| --- | --- | --- |
|
|
138
|
+
| D20VRFCoordinator | Consumer entry point / proxy | [`0xd20da057469C45928912d983F45790C41e290571`](https://explorer.arc.io/address/0xd20da057469C45928912d983F45790C41e290571) |
|
|
139
|
+
| EpochEntropy | Epoch registry / proxy | [`0xd20Da048C1A68fa3Bc0B5f5Bc454D1530062C82D`](https://explorer.arc.io/address/0xd20Da048C1A68fa3Bc0B5f5Bc454D1530062C82D) |
|
|
140
|
+
| D20CostClient | Restricted cost client / proxy | [`0xD20da0048aED2BBb9f0e7078Bc452815D626D29d`](https://explorer.arc.io/address/0xD20da0048aED2BBb9f0e7078Bc452815D626D29d) |
|
|
141
|
+
| D20VRFCoordinator | Implementation | [`0xD20da0c375cEfCdA65703699A4090237057e9b68`](https://explorer.arc.io/address/0xD20da0c375cEfCdA65703699A4090237057e9b68) |
|
|
142
|
+
| EpochEntropy | Implementation | [`0xD20Da0cf7Ddc6123f9A87c0C210F8ECB934CA7D5`](https://explorer.arc.io/address/0xD20Da0cf7Ddc6123f9A87c0C210F8ECB934CA7D5) |
|
|
143
|
+
| D20CostClient | Implementation | [`0xD20DA00A872acfDe3e4721Fc1051BD23CC84B66b`](https://explorer.arc.io/address/0xD20DA00A872acfDe3e4721Fc1051BD23CC84B66b) |
|
|
144
|
+
|
|
145
|
+
Addresses are copied from the [Arc Mainnet deployment manifest](https://github.com/d20dao/keeper/blob/main/deployments/arc-mainnet.json). Mainnet and testnet run the same implementation code.
|
|
146
|
+
|
|
132
147
|
### Arc Testnet
|
|
133
148
|
|
|
134
|
-
Chain ID: **5042002**. Use the **coordinator proxy** when constructing a consumer.
|
|
149
|
+
Chain ID: **5042002**. For development and testing. Use the **coordinator proxy** when constructing a consumer.
|
|
135
150
|
|
|
136
151
|
| Contract | Role | Arc Testnet address |
|
|
137
152
|
| --- | --- | --- |
|