Giter VIP home page Giter VIP logo

everscale-web-tools's Introduction

Everscale web tools

Requirements

  • Rust 1.50+ with installed target wasm32-unknown-unknown
  • wasm-pack
  • binaryen 99+ (for wasm-opt)
  • Node.js 14+

How to build

git clone https://github.com/broxus/everscale-web-tools.git
cd everscale-web-tools
npm install
npm run build

# Or you can run this. It runs the app in the development mode.
# Open http://localhost:55555 to view it in the browser.
npm run start

Publish

npm run gh-pages

Custom ABI syntax

<abi> ::= <space>* (<abi_plain> | <abi_function>) <space>*

<abi_plain> ::= <type> (<delim> <type>)*
<abi_function> ::= 
    <function_name> <space>* 
    <function_params> <space>*  ; inputs
    <function_params> <space>*  ; outputs
    <function_abi>

<function_name> ::= <function_name_start> (<function_name_start> | [0-9])*
<function_name_start> ::= [a-z] | [A-Z] | "_"
<function_params> ::= "(" <space>* (<type> (<delim> <type>)*)? <space>* ")" 
<function_abi> ::= "v1" | "v2"

<type> ::= <type_not_array> | <type_not_array> "[]"
<type_not_array> ::= <type_simple> | <type_map> | <type_tuple>
<type_tuple> ::= "(" <space>* <type> (<delim> <type>)* <space>* ")"
<type_map> ::= "map" <space>* <type_map_params>
<type_map_params> ::= "(" <space>* <type_simple> <delim> <type> <space>* ")"
<type_simple> ::= "bool" | "address" | "bytes" | "cell" | <uint> | <int>

<uint> ::= "uint" <bits>? | "u" <bits>
<int> ::= "int" <bits>? | "i" <bits>
<bits> ::= [1-9] | [1-9] [0-9] | "1" [0-9] [0-9] | "2" [0-4] [0-9] | "25" [0-6]

<delim> ::= <space>* "," <space>*
<space> ::= " " | "\t" | "\n"

everscale-web-tools's People

Contributors

ilyar avatar rexagon avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.