# Cross-chain

The key to cross-chain technology is to solve the transfer problem between backbone and side chain, and to have a mechanism to ensure that the transfer between backbone side chain is safe and credible.To this end, Adam Back et al. Have proposed a technique called two-way anchoring (Two-waypeg) to address the transfer of assets between the two chains.The basic principle is based on SPV to verify that transactions do exist on another chain, but this is the premise to save all of each other's block header information.

Main chain and side chain are 1-to-many relationships, using symmetrical bidirectional anchoring, there is no problem with saving only the whole block head information of the side chain. If the backbone needs to save all side chain header information, it is unacceptable, so symmetrical SPV-based bidirectional anchoring can not be used on the main side chain architecture of FOGR.

FOGR adopts different mechanisms for the transfer in the two directions between the main and side chains.

{% content-ref url="/pages/OQN8wG02dQWS1TKxUVxB" %}
[Backbone to side chain transfer](/fog-computing-chain/key-technology/cross-chain/backbone-to-side-chain-transfer.md)
{% endcontent-ref %}

{% content-ref url="/pages/kTjALJBwye3OdiEFIIV3" %}
[Side chain to the backbone transfer](/fog-computing-chain/key-technology/cross-chain/side-chain-to-the-backbone-transfer.md)
{% endcontent-ref %}

{% content-ref url="/pages/2Jxmi6TGHrr78zDDW41z" %}
[Arbitrator](/fog-computing-chain/key-technology/cross-chain/arbitrator.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fogcomputingchain.gitbook.io/fog-computing-chain/key-technology/cross-chain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
