Skip to content

agnusmor/zisk-eth-client-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zisk Ethereum Client (WASM)

Requirements

Build (web page)

Build wasm package (this will create pkg folder):

wasm-pack build

Install npm dependencies for local development web server:

cd www
npm install

Open a new terminal to run de development web server. Running the server in a new terminal lets us leave it running in the background, and doesn't block us from running other commands in the meantime. In the new terminal, run this command from the www folder:

npm run start

Navigate your Web browser to http://localhost:8080/

Build (nodejs)

Build wasm package for nodejs (this will create node/pkg folder):

wasm-pack build --target nodejs --out-dir node/pkg

Install npm dependencies:

cd node
npm install

Run execute-block from node directory passing as argument the input file of the block to execute:

node execute-block.js ../data/16424145.bin

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published