Advertisement

Rocklabs Workshop

May. 26, 2023
Advertisement

More Related Content

Advertisement

Rocklabs Workshop

  1. Connect to EVM Chains • Content • Connect to EVM Chains via ic-web3 • Communicate with EVM Contracts via Omnic
  2. The Internet Computer • Applications run in canisters (smart contracts) • Canisters can make http calls • Canister can fetch/post data from other chains • Canisters can sign messages via threshold ECDSA • Canister can sign tx of any chain with ECDSA support
  3. ic-web3 • A library that helps you connect to EVM chains inside a canister • Fetch info from EVM chains • Sign EVM chain transactions via t-ECDSA • Send transactions to EVM chains
  4. Endpoint Canister • A proxy canister to access EVM chains • Support Raw RPC calls • Canister id: 3ondx-siaaa- aaaam-abf3q-cai
  5. How to use?
  6. Reminders • Avoid replica consensus issue: • Remember to add `transform` function to your canister • Fetch `block_height` before you make RPC calls • Ensure authenticity: Fetch from multiple RPC providers and compare the result • Send Tx: sign the tx -> send the tx -> query tx result
  7. What is Powered by the Internet Computer, speci fi cally, canister smart contracts, threshold ECDSA & outbound http calls A scalable and programmable crosschain messaging protocol
  8. How It Works Components
  9. Legacy Architecture
  10. Fully Onchain Architecture
  11. How It Works Application Developers can build custom application and message processing logic into their application canister (programmability)
  12. How to use Omnic • Example Omnichain token: https://github.com/rocklabs-io/ omnichain-token • Omnic token bridge: https://test.omnic.network • Omnicscan: https://scan.omnic.network • Omnic-js SDK: https://github.com/rocklabs-io/omnic-js
  13. Powered by the Internet Computer https://rocklabs.io hello@rocklabs.io
Advertisement