Light client bridge

Light client bridge Light client bridge will relay every block from source chain to target chain, normally for asset transfer just need to lock asset in some backing module or smart contract in source chain and mint the mapping asset in target chain Components Since the chain cannot directly access each other, the cross-chain data submission needs to be completed by a third party. This third party is the bridge relayers.
Read more...

xcmp research

XCMP Research xcm format implementation examples workflow xcm types transact call data(pallet & call index required) #[derive(Encode, Decode)] pub enum RelayTemplatePalletCall { #[codec(index = 100)] // the index should match the position of the module in `construct_runtime!` DoSomething(DoSomethingCall), } #[derive(Encode, Decode)] pub enum DoSomethingCall { #[codec(index = 0)] // the index should match the position of the dispatchable in the target pallet Something(u32), } #[derive(Encode, Decode)] pub enum CrowdloanPalletCall { #[codec(index = 27)] // the index should match the position of the module in `construct_runtime!
Read more...

Darwinia Bridge

Theory White Paper Principle Darwinia-Ethereum Bridge Projects Navigation Darwinia Bridge cross-chain overview Background ERC223 ERC721 Patricia Merkle Trees Mining difficulty calculate mmr relay game Bridger Relayers (aka. Bridgers) in Darwinia Network are offchain worker clients which help relay the headers and messages between source chains and target chains Background actix deprecated dj Shadow Services for bridger which retrieve header data from public chains and generate mmr proof Background ffi
Read more...

Phragmen election

The problem that Phragmén’s methods try to solve is that of electing a set of a given numbers of persons from a larger set of candidates. Phragmén discussed this in the context of a parliamentary election in a multi-member constituency; the same problem can, of course, also occur in local elections, but also in many other situations such as electing a board or a committee in an organization.

Read more...