Skip to content
Snippets Groups Projects
README.md 3.77 KiB
Newer Older
  • Learn to ignore specific revisions
  • Xiliang Chen's avatar
    Xiliang Chen committed
    # open-runtime-module-library
    
    Xiliang Chen's avatar
    Xiliang Chen committed
    
    [![Crates.io](https://img.shields.io/crates/v/orml-tokens)](https://crates.io/search?q=orml)
    [![GitHub](https://img.shields.io/github/license/open-web3-stack/open-runtime-module-library)](https://github.com/open-web3-stack/open-runtime-module-library/blob/master/LICENSE)
    
    
    Bryan Chen's avatar
    Bryan Chen committed
    The Open Runtime Module Library (ORML) is a community maintained collection of Substrate runtime modules.
    
    
    Xiliang Chen's avatar
    Xiliang Chen committed
    ## Runtime Modules Overview
    
    Bryan Chen's avatar
    Bryan Chen committed
    
    
    - [orml-auction](./auction)
    	- Auction module that implements `Auction` trait.
    
    Xiliang Chen's avatar
    Xiliang Chen committed
    - [orml-currencies](./currencies)
    
    Bryan Chen's avatar
    Bryan Chen committed
    	- Provide `MultiCurrency` implementation using `pallet-balances` and `orml-tokens` module.
    
    - [orml-gradually-update](./gradually-update)
    	- Provides way to adjust numeric parameter gradually over a period of time.
    - [orml-nft](./nft)
     	- Non-fungible-token module provides basic functions to create and manager NFT(non fungible token) such as `create_class`, `transfer`, `mint`, `burn`, `destroy_class`.
    
    Xiliang Chen's avatar
    Xiliang Chen committed
    - [orml-oracle](./oracle)
    
    	- Oracle module that makes off-chain data available on-chain.
    - [orml-tokens](./tokens)
    	- Fungible tokens module that implements `MultiCurrency` trait.
    - [orml-traits](./traits)
    	- Shared traits including `BasicCurrency`, `MultiCurrency`, `Auction` and more.
    - [orml-utilities](./utilities)
    	- Various utilities including `OrderSet`.
    
    Xiliang Chen's avatar
    Xiliang Chen committed
    - [orml-vesting](./vesting)
    
    	- Provides scheduled balance locking mechanism, in a *graded vesting* way.
    
    - [orml-xcm-support](./xcm-support)
    
    	- Provides traits, types, and implementations to support XCM integration.
    - [orml-xtokens](./xtokens)
    	- Provides way to do cross-chain assets transfer.
    	- [Step-by-Step guide](https://github.com/open-web3-stack/open-runtime-module-library/wiki/xtokens) to make XCM cross-chain fungible asset transfer available on your parachain
    
    Bryan Chen's avatar
    Bryan Chen committed
    
    
    Xiliang Chen's avatar
    Xiliang Chen committed
    ## Example
    
    Xiliang Chen's avatar
    Xiliang Chen committed
    Checkout [orml-workshop](https://github.com/xlc/orml-workshop) for example usage.
    
    Xiliang Chen's avatar
    Xiliang Chen committed
    
    ## Development
    
    ### Makefile targets
    
    Bryan Chen's avatar
    Bryan Chen committed
    
    - `make check`
    
    Shaopeng Wang's avatar
    Shaopeng Wang committed
    	- Type check the code, without std feature, excluding tests.
    
    Bryan Chen's avatar
    Bryan Chen committed
    - `make check-tests`
    	- Type check the code, with std feature, including tests.
    - `make test`
    	- Run tests.
    
    Shaopeng Wang's avatar
    Shaopeng Wang committed
    ### `Cargo.toml`
    
    ORML use `Cargo.dev.toml` to avoid workspace conflicts with project cargo config. To use cargo commands in ORML workspace, create `Cargo.toml` by running
    
    - `cp Cargo.dev.toml Cargo.toml`, or
    - `make Cargo.toml`, or
    - change the command to `make dev-check` etc which does the copy. (For the full list of `make` commands, check `Makefile`)
    
    
    Bette's avatar
    Bette committed
    # Web3 Foundation Grant Project
    
    ORML is part of the bigger `Open-Web3-Stack` initiative, that is currently under a General Grant from Web3 Foundation. See Application details [here](https://github.com/open-web3-stack/General-Grants-Program/blob/master/grants/speculative/open_web3_stack.md). The 1st milestone has been delivered.
    
    Bette's avatar
    Bette committed
    
    
    Bryan Chen's avatar
    Bryan Chen committed
    # Projects using ORML
    
    Xiliang Chen's avatar
    Xiliang Chen committed
    - [If you intend or are using ORML, please add your project here](https://github.com/open-web3-stack/open-runtime-module-library/edit/master/README.md)
    
    Bryan Chen's avatar
    Bryan Chen committed
    
    _In alphabetical order_
    
    - [Acala Network](https://github.com/AcalaNetwork/Acala)
    
    - [Bifrost Finance](https://github.com/bifrost-finance/bifrost)
    
    - [Bit.Country](https://github.com/bit-country/Bit-Country-Blockchain)
    
    - [ChainX](https://github.com/chainx-org/ChainX)
    
    Jakub Pánik's avatar
    Jakub Pánik committed
    - [HydraDX](https://github.com/galacticcouncil/hack.HydraDX-node)
    
    - [KodaDot: MetaPrime Network](https://github.com/kodadot/metaprime.network) 
    
    Bryan Chen's avatar
    Bryan Chen committed
    - [Laminar Chain](https://github.com/laminar-protocol/laminar-chain)
    
    transxask's avatar
    transxask committed
    - [Listen](https://github.com/listenofficial)
    
    Shumo Chu's avatar
    Shumo Chu committed
    - [Manta Network](https://github.com/Manta-Network)
    
    - [Minterest](https://github.com/minterest-finance/minterest-chain-node)
    
    - [Plasm Network](https://github.com/PlasmNetwork)
    
    - [Setheum Network](https://github.com/Setheum-Labs/Setheum)
    
    - [Valiu Liquidity Network](https://github.com/valibre-org/vln-node)
    
    - [Zeitgeist](https://github.com/zeitgeistpm/zeitgeist)