# contracts-ui-repo **Repository Path**: tenNumber/contracts-ui-repo ## Basic Information - **Project Name**: contracts-ui-repo - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-05 - **Last Updated**: 2024-09-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README <<<<<<< HEAD # Substrate Contracts UI Substrate Contracts UI is a web application for deploying and interacting with WASM smart contracts on Substrate blockchains that include the FRAME Contracts Pallet. ❗Only compatible with nodes that use `WeightV2`. For older nodes use [this deployment](https://weightv1--contracts-ui.netlify.app/)❗ Supported smart contracts: - [ink!](https://github.com/use-ink/ink) - [ask!](https://github.com/ask-lang/ask) - [solang](https://github.com/hyperledger-labs/solang) We recommend running a [Substrate Contracts Node](https://github.com/paritytech/substrate-contracts-node) for local development or using the Contracts parachain on the Rococo Testnet. See [`FAUCETS.md`](https://github.com/use-ink/contracts-ui/blob/master/FAUCETS.md) to learn about how to obtain free testnet tokens of supported chains. ## Features ### Contract instantiation Once you have a compiled contract and you are connected to a node, you can use the hosted version of Contracts UI to [add a new contract on-chain](https://contracts-ui.substrate.io/add-contract). There are 2 instantiation methods: #### Upload New Contract Code In Substrate, contract code is stored only once on-chain and shared between instances. If the contract has never been instantiated before in it's current form, you need to choose the Upload New Contract Code option and provide the `.contract` code bundle that was generated when compiling the ink! contract. The bundle contains the contract metadata and the WASM code. Make sure your versions for the node, ink! and cargo-contract are up to date, otherwise the `.contract` bundle will be invalid. #### Use Existing Contract Code If you need to re-instantiate a contract from a different owner or for other reasons, you can use the "Use Existing Contract Code" option. You will have to provide a code hash that already exists on-chain or choose one that belongs to a code bundle previously uploaded via our UI. If the code hash is on-chain but the contract was not uploaded via Contracts UI, you will also have to provide the `metadata.json` file in the next step. The UI will interpret the contract metadata and output a guided instantiation form. ### Interaction After a successful instantiation, you will be redirected to the contract page where you can call contract messages (methods) and get a log of results. ## Run the app locally Install dependencies ```bash yarn ``` Run dev server ```bash yarn start ``` ## Contributing to the project Please see our [Contribution Guidelines](https://github.com/use-ink/contracts-ui/blob/master/CONTRIBUTING.md) before opening an issue or PR. ======= # contracts-ui-repo #### 介绍 {**以下是 Gitee 平台说明,您可以替换此简介** Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) >>>>>>> 0833417f9c1b7a50791e372c3e94ee7f44fb5ef8