diff --git a/SUMMARY.md b/SUMMARY.md index ee2809ef..cc64e3ac 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -14,16 +14,20 @@ * [From Crypto.org Chain (Crypto.com DeFi Wallet)](for-users/bridge/defiwallet.md) * [From Crypto.org Chain (Crypto.org Chain Desktop Wallet)](for-users/bridge/desktop.md) * [From other chains](for-users/bridge/other\_chain.md) + * [Via the Gravity Bridge Web App - Testnet only)](for-users/bridge/gb-testnet.md) * [FAQ](for-users/bridge/faq.md) * [For Dapp Developers](for-dapp-developers/README.md) * [Cronos: Deploy Smart Contract](for-dapp-developers/cronos-smart-contract.md) * [Best Practices for DeFi Project in Cronos](for-dapp-developers/defi-practice.md) * [Web Extension Integration](for-dapp-developers/web-extension-integration.md) * [Desktop Wallet Integration](for-dapp-developers/desktop-wallet-integration.md) + * [Useful Projects on Cronos](docs/resources/useful-projects.md) * [For Node Hosts](for-node-hosts/README.md) * [Devnet: Running Latest Development Node](for-node-hosts/local-devnet.md) * [The "Huygen" upgrade guide (v0.6.\* to v0.7.\*) :](for-node-hosts/huygen.md) * [Node Setup and RPC note](for-node-hosts/node-and-rpc-setup-notes.md) + * [Cronos gravity bridge testnet: Running Nodes](for-node-hosts/cronos-gbtestnet.md) + * [Best Practices for node hosts in Cronos](for-node-hosts/cronos-node-best-practises.md) * [cronosd](for-node-hosts/cli.md) * [Cronos Play](cronos-gamefi-integraton/README.md) * [Getting Started](cronos-gamefi-integraton/getting-started.md) @@ -32,6 +36,8 @@ * [Scripts](cronos-gamefi-integraton/scripts.md) * [Useful Links](cronos-gamefi-integraton/useful-links.md) * [Unity Integration Documentation](cronos-gamefi-integraton/cronos-gamefi-integraton.md) + * [Unreal Engine Plugin](cronos-gamefi-integraton/getting-started_unreal.md) + * [Cronos Play C++ SDK](cronos-gamefi-integraton/getting-started_cpp.md) * [About Cronos](docs/README.md) * [Architecture](docs/architecture.md) * [Chain ID and Address Format](docs/chain-id.md) diff --git a/docs/play/getting-started_cpp.md b/cronos-gamefi-integraton/getting-started_cpp.md similarity index 100% rename from docs/play/getting-started_cpp.md rename to cronos-gamefi-integraton/getting-started_cpp.md diff --git a/docs/play/getting-started_unreal.md b/cronos-gamefi-integraton/getting-started_unreal.md similarity index 100% rename from docs/play/getting-started_unreal.md rename to cronos-gamefi-integraton/getting-started_unreal.md diff --git a/docs/resources/useful-projects.md b/for-dapp-developers/useful-projects.md similarity index 100% rename from docs/resources/useful-projects.md rename to for-dapp-developers/useful-projects.md diff --git a/docs/getting-started/cronos-gbtestnet.md b/for-node-hosts/cronos-gbtestnet.md similarity index 100% rename from docs/getting-started/cronos-gbtestnet.md rename to for-node-hosts/cronos-gbtestnet.md diff --git a/docs/getting-started/cronos-node-best-practises.md b/for-node-hosts/cronos-node-best-practises.md similarity index 100% rename from docs/getting-started/cronos-node-best-practises.md rename to for-node-hosts/cronos-node-best-practises.md diff --git a/docs/bridge/gb-testnet.md b/for-users/bridge/gb-testnet.md similarity index 85% rename from docs/bridge/gb-testnet.md rename to for-users/bridge/gb-testnet.md index 89a8113a..70e102a8 100644 --- a/docs/bridge/gb-testnet.md +++ b/for-users/bridge/gb-testnet.md @@ -8,7 +8,7 @@ Please read the guide carefully and review the project documentation as misuse may cause incorrect transfer or even loss of assets. We recommend transferring a small amount first to get yourself acquainted with the bridge before moving significant amounts. We are **NOT** responsible for any losses incurred while using the bridge! Use at your own risk. ::: -centered image +centered image The Gravity Bridge now makes it possible to transfer assets between the Cronos and the Ethereum network. The Gravity Bridge (Beta) for Testnet can be found [here](https://cronos.org/bridge/). Make sure to switch to the Testnet. @@ -46,7 +46,7 @@ We are constantly working on adding new tokens and chain support. If you have an #### 1. Connect your wallet Click the “Connect Wallet" button on the top right to connect your browser extension wallet. Choose one of the supported wallets and look for a popup from your wallet interface or click into the wallet extension to give consent. Note that it might already ask permission to switch network, press "Accept" in that case. -centered image +centered image **Testnet** If you are using Metamask, make sure to enable test networks, on the Metamask wallet @@ -61,15 +61,15 @@ Add the following network details: - Currency symbol: **TCRO** - Block Explorer URL (Optional): **https://cronos.org/explorer/pioneer11** -centered image -centered image +centered image +centered image #### 2. Select Network and Token Select the origin chain on the left and the destination chain on the right in the bridge interface. Auto-suggestion may set some parameters. However, a manual check might be needed to match your wallet settings to the selected network. Once the networks are chosen, select the asset you would like to transfer. Note that your ERC20 compatible addresses on Ethereum and Cronos are the same. -centered image +centered image If you would like to swap any of the other tokens listed, you can head to [Uniswap](https://app.uniswap.org/#/swap?chain=goerli) on Goerli testnet. Refer to [Swap tokens on Uniswap](#swap-tokens-on-uniswap) for an example. @@ -81,7 +81,7 @@ The bridge network fees will be calculated accordingly. You always need to pay t If this is the first time you are swapping this particular token using the Gravity Bridge, you may need to enable the contract such that the Gravity Bridge has access to this token. For example for USDC, click the "enable" button and accept permission in your wallet. Now you can bridge UDSC. -centered image +centered image **From Ethereum (Goerli testnet) to Cronos Gravity Bridge testnet** @@ -93,7 +93,7 @@ For Goerli, you can get some Goerli Eth from one of the Goerli faucets, for exam - [https://goerlifaucet.com/](https://goerlifaucet.com/) - check the goerli testnet page for other faucets [https://github.com/eth-clients/goerli](https://github.com/eth-clients/goerli). -centered image +centered image **From Cronos Gravity Bridge testnet to Ethereum (Goerli testnet)** @@ -103,7 +103,7 @@ Note that there might be additional bridge network fees calculated. When bridgin For Pioneer 11, you can get some TCRO from the [pioneer 11 faucet](https://cronos.org/pioneer11-faucet) -centered image +centered image #### 4. Confirm the transaction @@ -111,9 +111,9 @@ Once all transfer settings have been confirmed, click "Transfer Assets", a trans Please note that after bridging the tokens, they will be converted into the destination blockchain-supported tokens. -centered image +centered image -centered image +centered image #### 5. Bridging assets @@ -124,10 +124,10 @@ Even if you dismiss, quit, or refresh the page, a small popup reminder will be a Thank you for using the Cronos bridge and supporting the Cronos Ecosystem! -centered image +centered image -centered image +centered image ### Appendix @@ -136,18 +136,18 @@ Thank you for using the Cronos bridge and supporting the Cronos Ecosystem! Head to [Uniswap](https://app.uniswap.org/#/swap?chain=goerli) on Goerli testnet. Connect with your wallet and switch to the goerli network. -centered image +centered image If the token you are looking to swap to is not listed, you may need to import the token address yourself, for example for [USDC](https://goerli.etherscan.io/address/0xD87Ba7A50B2E7E660f678A895E4B72E7CB4CCd9C) on Goerli testnet: -centered image +centered image Make sure that this is the correct address for your token before importing! If so, click "import" and finally, confirm the swap. -centered image -centered image +centered image +centered image diff --git a/package-lock.json b/package-lock.json index a092ac87..ddde4f09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { + "graceful-fs": "^4.2.10", "vuepress": "^1.7.1", "vuepress-plugin-export": "https://github.com/calvinaco/vuepress-plugin-export.git" } @@ -5952,9 +5953,9 @@ } }, "node_modules/graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "node_modules/gray-matter": { "version": "4.0.3", @@ -17466,9 +17467,9 @@ } }, "graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, "gray-matter": { "version": "4.0.3", diff --git a/package.json b/package.json index 2698873c..cb3a64d1 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "docs:pdf": "cd docs && vuepress export" }, "dependencies": { + "graceful-fs": "^4.2.10", "vuepress": "^1.7.1", "vuepress-plugin-export": "https://github.com/calvinaco/vuepress-plugin-export.git" }