Welcome to the official documentation site for xCall!
xCall is a standardized interface designed to simplify cross-chain development by abstracting away the varying technical architectures of underlying protocols.
This documentation serves as a comprehensive guide to using and understanding all aspects of xCall, from setup to advanced features. Whether you're a new user starting your journey or an experienced professional seeking to delve deeper, we've got you covered. We continuously work towards making our documentation as clear and detailed as possible, so you can leverage the full power of xCall.
Thank you for choosing xCall, and we hope this documentation aids you in making the most of our interface.
Before you start, ensure that Git and Node.js are installed on your local machine.
Follow these steps to run the project locally:
xcall.dev
repository on GitHub. Click the 'Fork' button in the upper right corner of the repository page to create a copy of the repository in your own GitHub account.git clone
command, like this:
git clone https://github.com/<yourusername>/xcall.dev.git
cd
command to navigate into the cloned repository:
cd xcall.dev
npm install
npm run dev
Before you start, ensure that Git and Node.js are installed on your local machine, and you have Visual Studio Code (VSCode) set up.
Follow these steps to run the project locally:
xcall.dev
repository on GitHub. Click the 'Fork' button in the upper right corner of the repository page to create a copy of the repository in your own GitHub account.git clone
command, like this:
git clone https://github.com/<yourusername>/xcall.dev.git
Replace <yourusername>
with your GitHub username.cd
command in the terminal to navigate into the cloned repository:
cd xcall.dev
npm install
npm run dev
Each documentation pages offers an opportunity for visitors to provide feedback, ask questions or contribute directly. Look for:
Pages are written in MDX, a markup language that is a blend of Markdown and JSX. In MDX, you can write standard Markdown as you usually would, but you also have the ability to import and use React components within your content.
The title and order of a page shown in the sidebar should be configured in the _meta.json file as key-value pairs. For example, if you have the following file structure:
Folder: Pages
- _meta.json
- about.mdx
- contact.mdx
- index.mdx
You can define how the pages are shown in the sidebar via the _meta.json file:
_meta.json
{
"index": "My Homepage",
"contact": "Contact Us",
"about": "About Us"
}
If any routes are not listed in the _meta.json file, they will be appended to the end of the sidebar and sorted alphabetically, and the title will be formatted with UpperCamelCase
Folders can be configured in the same way as pages. For example:
Folder: Pages
Folder: Fruits
- _meta.json
- apple.mdx
- banana.mdx
- _meta.json
- about.mdx
- contact.mdx
- index.mdx
The top-level _meta.json file contains the meta information for the top-level pages and folders:
pages/_meta.json
{
"index": "My Homepage",
"contact": "Contact Us",
"fruits": "Delicious Fruits",
"about": "About Us"
}
And the nested _meta.json file contains the meta information for pages in the same folder:
pages/fruits/_meta.json
{
"apple": "Apple",
"banana": "Banana"
}
This way, information for pages are grouped together in directories. You can move directories around without having to change the _meta.json file.
This website is built with the Nextra Docs Theme. For further information on the documentation page and folder configuration visit Nextra Docs Theme
If you have any questions, please reach out to us on Discord.