|
|
|
@ -373,6 +373,17 @@ Hello, world!
|
|
|
|
|
```
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
|
## Gas Metering
|
|
|
|
|
```sh
|
|
|
|
|
$ npm install -g wasm-metering
|
|
|
|
|
|
|
|
|
|
$ wasm-meter hello.wasm hello-metered.wasm
|
|
|
|
|
|
|
|
|
|
$ wasm3 hello-metered.wasm
|
|
|
|
|
Warning: Gas is limited to 500000000.0000
|
|
|
|
|
Hello, world!
|
|
|
|
|
Gas used: 20.8950
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Other resources
|
|
|
|
|
|
|
|
|
|