Skip to content

Commit

Permalink
Update examples to use gateway and localnet (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Sep 24, 2024
1 parent 45c56ea commit 8f747ca
Show file tree
Hide file tree
Showing 15 changed files with 986 additions and 2,269 deletions.
6 changes: 6 additions & 0 deletions src/pages/developers/frontend/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
"description": "A set of ready to use React components that lets you build user interfaces for universal apps on ZetaChain",
"readType": "Beginner",
"readTime": "30 min"
},
"bitcoin": {
"title": "Bitcoin Frontend",
"description": "Learn how to build a simple frontend app that let's you call a universal app on ZetaChain from Bitcoin using a browser wallet extension",
"readType": "Beginner",
"readTime": "30 min"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ npx http-server
Open the page in your browser and fill in the form. You can test functionality
with your own contract address or follow one of the provided tutorials, for
example, the [Staking](/developers/tutorials/staking/) tutorial to deploy a
contract that you can call from Bitcoin.
example, the [Swap](/developers/tutorials/swap/) tutorial to deploy a contract
that you can call from Bitcoin.
Fill out the form and click the "Send transaction" button. You will be prompted
to confirm the transaction.
Expand Down
10 changes: 0 additions & 10 deletions src/pages/developers/reference/_meta.json

This file was deleted.

175 changes: 0 additions & 175 deletions src/pages/developers/reference/transactions.mdx

This file was deleted.

35 changes: 10 additions & 25 deletions src/pages/developers/tutorials/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,43 +5,28 @@
"description": "Learn how to set up a smart contract template, create an account, and use faucet"
},
"hello": {
"title": "First Universal App",
"title": "First Universal App on Localnet",
"readTime": "10 min",
"description": "Learn how to create, deploy and interact with a universal app"
},
"localnet": {
"title": "Localnet",
"swap-tss": {
"title": "Swap on Testnet",
"readTime": "30 min",
"description": "Build and interact with your universal app in a local dev environment"
"description": "Implement an omnichain swap app compatible with chains like Ethereum, BNB and Bitcoin"
},
"swap": {
"title": "Swap",
"title": "Swap on Localnet",
"readTime": "30 min",
"description": "Implement an omnichain swap app compatible with chains like Ethereum, BNB and Bitcoin"
},
"swap-any": {
"title": "Swap Any Token",
"title": "Swap Any Token on Localnet",
"readTime": "60 min",
"description": "Enhance the omnichain swap app with the ability to swap to any token"
},
"staking": {
"title": "Staking",
"readTime": "60 min",
"description": "Explore how universal apps can be used for omnichain staking"
},
"nft": {
"title": "NFT",
"readTime": "60 min",
"description": "Learn how to create a client-side UI for your universal app with Next.js and TypeScript"
},
"bitcoin": {
"title": "Bitcoin Frontend",
"readTime": "20 min",
"description": "Learn how to make calls to universal apps from Bitcoin with wallets like XDEFI and UniSat"
},
"multioutput": {
"title": "Single Input, Multiple Outputs",
"readTime": "60 min",
"description": "Learn how a single call to a universal app can create multiple outbound transactions"
"localnet": {
"title": "Localnet",
"readTime": "30 min",
"description": "Build and interact with your universal app in a local dev environment"
}
}
Loading

0 comments on commit 8f747ca

Please sign in to comment.