You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sumi is a binding generator specifically designed for [Astar Network](https://astar.network) ecosystem with XVM in mind. It takes EVM metadata and converts it to an ink! module that can later be used to call into original EVM smart contract.
3
+
Sumi is a binding generator specifically designed for [Astar Network](https://astar.network) ecosystem with XVM in mind. It takes EVM metadata and converts it to an ink! module that can later be used to call into original EVM smart contract. Reverse ink! to EVM mode is also supported but is highly experimental and should be considered as a PoC for now.
4
4
5
5
Please note that Sumi is not a transpiler, it's a binding generator. If you need to convert your existing Solidity smart contract to ink! please use [Sol2ink](https://github.com/Supercolony-net/sol2ink) instead.
6
6
@@ -10,7 +10,7 @@ Please note that Sumi is not a transpiler, it's a binding generator. If you need
10
10
11
11
# Quick start guide
12
12
13
-
1. Install Sumi using `cargo install --git https://github.com/AstarNetwork/sumi --tag v0.1.1`
13
+
1. Install Sumi using `cargo install --git https://github.com/AstarNetwork/sumi --tag v0.2.0`
14
14
2. Use Solidity compiler (or [Remix IDE](https://remix.ethereum.org) if in doubt) to obtain smart contract metadata:
15
15
`solc --pretty-json --abi <input>.sol -o .`
16
16
Don't forget to replace `<input>.sol` with your actual file name.
@@ -24,14 +24,15 @@ Sumi can also work in pipeline mode. By default it will read from stdin and writ
24
24
25
25
# Command line reference
26
26
27
-
Usage: sumi [OPTIONS] --module-name <MODULE_NAME>
28
-
27
+
Usage: sumi [OPTIONS]
28
+
29
29
Options:
30
-
-i, --input <INPUT> Input filename or stdin if empty
31
-
-o, --output <OUTPUT> Output filename or stdout if empty
32
-
-m, --module-name <MODULE_NAME> Ink module name to generate
33
-
-e, --evm-id <EVM_ID> EVM ID to use in module [default: 0x0F]
34
-
-h, --help Print help information
30
+
-i, --input <INPUT> Input filename or stdin if empty
31
+
-o, --output <OUTPUT> Output filename or stdout if empty
32
+
--module-name <MODULE_NAME> Ink module name to generate
33
+
-e, --evm-id <EVM_ID> EVM ID to use in module [default: 0x0F]
0 commit comments