optimism

package module
v0.0.0-...-5bfb8ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2022 License: LGPL-3.0 Imports: 11 Imported by: 0

README

Sygma optimism module

discord

Sygma optimism module is the part of Sygma-core framework. This module brings support of optimism compatible client module.

Project still in deep beta

Table of Contents
  1. Installation
  2. Usage
  3. Differences Between EVM and Celo

Installation

Refer to installation guide for assistance in installing.

Usage

Module should be used along with core framework.

Since sygma-optimism-module is a package it will require writing some extra code to get it running alongside chainbridge-core. Here you can find some examples Example

Differences Between EVM and Optimism module

Though Optimism is an EVM-compatible chain, it needs additional checks to verify transaction batches before submitting votes, and therefore is deserving of its own separate module.

The differences pertain to OptimismClient which returns only verified blocks when querying latest block.

ChainSafe Security Policy

Reporting a Security Bug

We take all security issues seriously, if you believe you have found a security issue within a ChainSafe project please notify us immediately. If an issue is confirmed, we will take all necessary precautions to ensure a statement and patch release is made in a timely manner.

Please email us a description of the flaw and any related information (e.g. reproduction steps, version) to security at chainsafe dot io.

License

GNU Lesser General Public License v3.0

Documentation

Overview

Copyright 2021 ChainSafe Systems SPDX-License-Identifier: LGPL-3.0-only

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupDefaultOptimismChain

func SetupDefaultOptimismChain(rawConfig map[string]interface{}, txFabric calls.TxFabric, db *store.BlockStore) (*evm.EVMChain, error)

SetupDefaultOptimismChain sets up an instance of EVMChain with optimism client setup that tracks only verified tx batches.

Types

This section is empty.

Directories

Path Synopsis
e2e

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL