wasmvm:与wasmer绑定到正在运行的cosmwasm合同

时间:2024-04-27 22:57:14
【文件属性】:

文件名称:wasmvm:与wasmer绑定到正在运行的cosmwasm合同

文件大小:4.04MB

文件格式:ZIP

更新时间:2024-04-27 22:57:14

Go

wasmvm 这是的包装。 它允许您从Go应用程序(尤其是从编译,初始化和执行CosmWasm智能合约。 结构 此仓库包含Rust和Go代码。 rust代码被编译为dll / so,以便通过cgo链接并使用令人愉悦的Go API进行包装。 完整的构建步骤包括编译rust-> C库,并将该库链接到Go代码。 对于用户的人体工程学,我们将包括预编译的库以方便地进行链接,Go开发人员应该能够直接将其导入。 支持平台 需要Rust 1.50+,需要Go 1.15+ 由于此软件包包括rust预先构建的dll,因此您不仅可以导入go代码,还需要将其安装在与现有dll兼容的系统上。 当前,这是Linux(已在Ubuntu,Debian和CentOS7上测试)和MacOS。 我们有一个用于Windows的构建系统,但我们所依赖的Wasmer Singlepass后端该构建系统。 概述 Linux(g


【文件预览】:
wasmvm-main
----lib.go(16KB)
----NOTICE(556B)
----build.rs(216B)
----cmd()
--------main.go(759B)
----cbindgen.toml(2KB)
----clippy.toml(34B)
----Cargo.lock(39KB)
----api()
--------testdata()
--------lib.go(16KB)
--------mock_failure.go(470B)
--------libwasmvm.dylib(4.16MB)
--------link_muslc.go(112B)
--------mocks.go(13KB)
--------link_std.go(114B)
--------api_test.go(3KB)
--------iterator_test.go(4KB)
--------memory_test.go(2KB)
--------lib_test.go(27KB)
--------memory.go(3KB)
--------callbacks_cgo.go(3KB)
--------libwasmvm.so(7.54MB)
--------iterator.go(2KB)
--------bindings.h(18KB)
--------callbacks.go(15KB)
----lib_test.go(3KB)
----LICENSE(11KB)
----src()
--------memory.rs(11KB)
--------iterator.rs(3KB)
--------db.rs(2KB)
--------tests.rs(4KB)
--------storage.rs(5KB)
--------error()
--------gas_meter.rs(153B)
--------querier.rs(2KB)
--------lib.rs(770B)
--------api.rs(4KB)
--------args.rs(394B)
--------cache.rs(16KB)
--------calls.rs(13KB)
----Cargo.toml(1KB)
----spec()
--------Architecture.md(11KB)
--------Index.md(3KB)
--------Specification.md(14KB)
----.gitignore(132B)
----CHANGELOG.md(896B)
----ibc_test.go(8KB)
----.circleci()
--------config.yml(8KB)
----Makefile(3KB)
----go.sum(11KB)
----types()
--------queries.go(10KB)
--------env.go(1KB)
--------subcall.go(1KB)
--------systemerror.go(4KB)
--------queries_test.go(3KB)
--------msg.go(7KB)
--------ibc.go(5KB)
--------env_test.go(1KB)
--------types.go(1KB)
----README.md(4KB)
----.editorconfig(229B)
----builders()
--------Dockerfile.alpine(1KB)
--------Dockerfile.cross(1KB)
--------guest()
--------Makefile(777B)
--------README.md(2KB)
--------Dockerfile.centos7(874B)
----go.mod(337B)

网友评论