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
- Monitors the On-Ramp contract for new data offers.
36
+
- Monitors the OnRamp contract for new data offers.
37
37
- Handles file packaging (CAR file creation), CommP calculation, and deal submission to Filecoin.
38
38
- It can also serve as a storage buffer for storage providers to retrieve data to make storage deals on Filecoin.
39
39
### High-Level Workflow
40
40

41
41
The bridge’s workflow can be summarized in a multi-step process:
42
-
1.**Store Data**: A user submits a storage offer to the On-Ramp contract on their EVM-compatible chain.
42
+
1.**Upload Data**: A user submits a storage offer to the OnRamp contract on their EVM-compatible chain.
43
43
1.**Data Aggregation**: The xChain client detects the offer from smart contract events, fetches the data, aggregates smaller data into a big piece, and sends the proof of aggregation back to the onramp contract.
44
44
1.**Filecoin storage deal making**: The xChain client will send the storage deal proposal to the storage providers either through an on-chain smart contract or an off-chain process.
45
45
1.**Bridging Proofs**: Once Filecoin confirms the data is stored, the Prover contract will receive the deal notification automatically and emit a proof via the Axelar cross-chain messaging network.
46
-
1.**Payment Release**: The Oracle contract on the source chain verifies the proof and instructs the On-Ramp to release payment.
46
+
1.**Payment Release**: The Oracle contract on the source chain verifies the proof and instructs the OnRamp to release payment.
47
47
48
48
Each component plays a vital role in ensuring trust-minimized and seamless data storage between chains. This modular design also makes the bridge extensible—one could integrate a different messaging layer or deal aggregator without changing the overall flow.
49
49
@@ -53,7 +53,7 @@ Now that we understand the architecture, let’s see how to interact with the cr
53
53
**Pre-Requisites**
54
54
-**RPC endpoints** for your source EVM chain (e.g., Avalanche Fuji).
55
55
-**Wallet** with enough native tokens (FIL & AVAX) and ERC-20 tokens for fees and storage payments.
56
-
- Access to On-Ramp and Oracle contracts on Avalanche Fuji & Prover contract on the Filecoin network.
56
+
- Access to OnRamp and Oracle contracts on Avalanche Fuji & Prover contract on the Filecoin network.
57
57
- In this tutorial, we are going to use the pre-deployed contracts on Avalanche and Filecoin. The details are [here](#deployed-contracts-info).
58
58
- In any case, if you need to deploy your version. Please follow the [deployment instructions](https://github.com/fil-builders/onramp-contracts?tab=readme-ov-file#-getting-started) on GitHub.
59
59
@@ -208,7 +208,7 @@ The storage should be completed after some time (depending on the speed of the F
208
208
const status = await onRamp.getOfferStatus(offerId);
209
209
```
210
210
211
-
ou can also refer to this [dataBridgeDemo repo](https://github.com/FIL-Builders/dataBridgeDemo) as a reference for the implementation of storing your application data on Avalanche to the Filecoin network.
211
+
You can also refer to this [dataBridgeDemo repo](https://github.com/FIL-Builders/dataBridgeDemo) as a reference for the implementation of storing your application data on Avalanche to the Filecoin network.
0 commit comments