当前位置: 首页 > 软件库 > Web3 > 区块链 >

celo-monorepo

授权协议 Apache-2.0 License
开发语言
所属分类 Web3、 区块链
软件类型 开源软件
地区 不详
投 递 者 施玉宸
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

celo logo

Celo Monorepo - Official repository for core projects comprising the Celo platform

This repository contains the source code for the Celo core projects including the smart contracts, contractKit,and other packages. The source code for the Celo Blockchain which operates a node on the Celo Network is kept in a separate repo here.

Contents:

�� Celo's Mission - Prosperity for All

Celo, pronounced /ˈtselo/, means ‘purpose’ in Esperanto. In a similar spirit, we are aiming to create a new platform to connect people globally and bring financial stability to those who need it most. We believe blockchain technology is one of the most exciting innovations in recent history and as a community we look to push the boundaries of what is possible with it today. More importantly, we are driven by purpose -- to solve real-world problems such as lack of access to sound currency, or friction for cash-transfer programs aimed to alleviate poverty. Our mission is to build a monetary system that creates the conditions for prosperity for all.

Play on Youtube - What if money were beautiful
What if money were beautiful?

�� The Celo Stack

Celo is oriented around providing the simplest possible experience for end users, who may have no familiarity with cryptocurrencies, and may be using low cost devices with limited connectivity. To achieve this, the project takes a full-stack approach, where each layer of the stack is designed with the end user in mind whilst considering other stakeholders (e.g. operators of nodes in the network) involved in enabling the end user experience.

The Celo stack is structured into the following logical layers:

Celo protocol
The Celo Blockchain and Celo Core Contracts together comprise the Celo Protocol

  • Celo Blockchain: An open cryptographic protocol that allows applications to make transactions with and run smart contracts in a secure and decentralized fashion. The Celo Blockchain has shared ancestry with Ethereum, and maintains full EVM compatibility for smart contracts. However it uses a Byzantine Fault Tolerant (BFT) consensus mechanism rather than Proof of Work, and has different block format, transaction format, client synchronization protocols, and gas payment and pricing mechanisms. The network’s native asset is Celo Gold, exposed via an ERC-20 interface.

  • Celo Core Contracts: A set of smart contracts running on the Celo Blockchain that comprise much of the logic of the platform features including ERC-20 stable currencies, identity attestations, Proof of Stake and governance. These smart contracts are upgradeable and managed by the decentralized governance process.

Celo network
Topology of a Celo Network

  • Applications: Applications for end users built on the Celo platform. The Celo Wallet app, the first of an ecosystem of applications, allows end users to manage accounts and make payments securely and simply by taking advantage of the innovations in the Celo protocol. Applications take the form of external mobile or backend software: they interact with the Celo Blockchain to issue transactions and invoke code that forms the Celo Core Contracts’ API. Third parties can also deploy custom smart contracts that their own applications can invoke, which in turn can leverage Celo Core Contracts. Applications may use centralized cloud services to provide some of their functionality: in the case of the Celo Wallet, push notifications and a transaction activity feed.

�� Documentation

Follow the instructions in SETUP.md to get a development environment set up.

See Developer's Guide for full details about the design of the Celo protocol and other information about running these projects.

�� Issues

See the issue backlog for a list of active or proposed tasks. Feel free to create new issues to report bugs and/or request features.

�� Repo Structure

The repository has the following packages (sub projects):

  • attestation-service - service run by validators on the Celo network to send SMS messages, enabling attestations of user phone numbers and their accounts on the Celo network
  • blockchain-api - service that uses Blockscout to present view of transactions by account for Celo Wallet activity feed
  • celotool - scripts for deploying and managing testnets
  • cli - tool that uses ContractKit to interact with the Celo protocol (docs)
  • contractkit - library to help developers and validators interact with the protocol and it's smart contracts (docs)
  • dappkit - set of functions for mobile DApps to work with the wallet app (ex. sign transactions and access the user's account) (docs)
  • dev-utils - a utils package for use as a dev dependency
  • docs - technical documentation for the Celo project (live)
  • faucet - faucet deployment configuration (live)
  • helm-charts - templatized deployments of entire environments to Kubernetes clusters
  • mobile - Android wallet app for the Celo platform (docs, live)
  • notification-service - service for managing push notifications for Celo Wallet
  • protocol - identity, stability and other smart contracts for the Celo protocol (docs)
  • react-components - generalized react native components
  • reserve-site - website for (Celo Reserve.org)
  • terraform-modules - templatized deployments of entire VM-based testnets for Google Cloud Platform
  • typescript - no README available (improve?)
  • utils - no README available (improve?)

Code owners for each package can be found in .github/CODEOWNERS.

✍️ Contributing

Feel free to jump on the Celo �� �� �� �� . Improvements and contributions are highly encouraged! �� ��

See the contributing guide for details on how to participate.

All communication and contributions to the Celo project are subject to the Celo Code of Conduct.

Not yet ready to contribute but do like the project? Support Celo with a or share the love in a

�� Ask Questions, Find Answers, Get in Touch

�� License

All packages are licensed under the terms of the Apache 2.0 License unless otherwise specified in the LICENSE file at package's root.

 相关资料
  • 我创建了一个简单的例子来说明我的问题:Github repo。 我有一个lerna monorepo,在文件夹中有两个npm包,这些包被称为: utils:导出函数: 组件库::导出一个简单的功能组件: monorepo的根有一个,它定义了一个键,用于将形式的任何导入映射到包。 每个包都有一个,两者基本相同(尽管我们只使用包中的一个): 因此,它们都使用root,他们使用一个插件来传输Typesc

  • 我正在创建GitHub操作工作流,以构建npm包并将其发布到GitHub包。repo是一个包含多个包的monorepo,因此我使用语义发布monorepo工具。然而,发布的步骤失败了,我不知道为什么。 我的GitHub操作工作流文件如下(略微精简) 运行一个脚本,执行lerna命令进行语义发布

  • 我用工作区。 我的根: 中的: 我已经在我的文件夹中创建了一个组件,当我运行时,该应用程序可以在浏览器中启动。 但是,在VS代码中打开我的monorepo时,它无法解析语句中的npm包: 同样的情况发生在中的 在WebStorm中打开monorepo时,一切正常。 可以在这里找到repo存储库。 更新:它似乎与机制有关。我遇到了这个问题,并在后接修复了它。 然而,这个问题的答案对我不起作用。 在运

  • Template project for setting up a TypeScript monorepo Table of content Features Setup Docs Examples ts-node Babel webpack jest create-react-app NextJS NestJS Features The main focus of this repo is ma

  • React Native Universal Monorepo An opinonated approach to supporting multiple platforms with React Native using a Yarn Workspaces monorepo. Check out Running React Native everywhere for an in-depth gu

  • GitHub Actions CircleCI Overview This is an example of a golang-based monorepo. It has the following features: Only build the services or cmds that are modified in a commit; Build all services and/or