New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

eosio-asc

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eosio-asc

Build tool for building AssemblyScript projects

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
2
Created
Source

Transform

Compiling the eosio-asc smart contract code to generate as normal as code that can be directly compiled into wasm.

Build

yarn build

Example

npx asc path/to/examples/solar/solar.ts --transform ./index.ts  --noEmit

Note: You need to use the asc under transform module for transform, that is ./transform/node_modules/assemblyscript/bin/asc

It generated a normal as file. And then you could compile it by asc.

You need set --runtime stub for compiling as code to smart contract environment.

Recommanded args are:

--importMemory --initialMemory 2 --maximumMemory 16 --noExportMemory --runtime stub --use abort= -O2

FAQs

Package last updated on 07 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts