DARWINIA NETWORK
Published in

DARWINIA NETWORK

「Build on Darwinia 2–5」Understanding Crab Chain and Crab Smart Chain

Introduction

Crab Chain

Crab Smart Chain

/// Transact an Ethereum transaction.
#[pallet::weight(<T as darwinia_evm::Config>::GasWeightMapping::gas_to_weight(transaction.gas_limit.unique_saturated_into()))]
pub fn transact(
origin: OriginFor<T>,
transaction: TransactionV0,
) -> DispatchResultWithPostInfo

Interoperation between CC and CSC

For Users

pub fn transfer(
origin: OriginFor<T>,
dest: <T::Lookup as StaticLookup>::Source,
#[pallet::compact] value: T::Balance,
)

For Developers

Summary

References

Resources:

About Crab Network

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Darwinia

As an open cross-chain bridge protocol based on Substrate, Darwinia focuses on the construction of future Internet of Tokens. TG: http://t.me/DarwiniaNetwork