mevm-context

command
v0.0.0-...-d275869 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 1 Imported by: 0

README

Example Suapp with the MEVM Context

This example demonstrates how a Suapp can query the MEVM context. The MEVM context is a set of kv pairs that return information about the execution environment of the Confidential Compute request (i.e confidential inputs, address of the kettle, etc..). It can be queried with the low-level contextGet precompile.

The suave-std suite provides a high-level interface to the MEVM context with the Context.sol library which is what it is used in this example.

How to use

Run Suave in development mode:

$ suave-geth --suave.dev

Execute the deployment script:

$ go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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