Skip to content

Bytom-Community/Bytom-WebAssembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
xuhongxin
Oct 16, 2018
ea56ffa · Oct 16, 2018

History

13 Commits
Oct 16, 2018
Oct 16, 2018
Oct 16, 2018
Oct 16, 2018
Oct 8, 2018
Oct 8, 2018
Oct 8, 2018
Oct 8, 2018
Oct 8, 2018
Oct 16, 2018
Oct 8, 2018
Oct 8, 2018
Oct 16, 2018
Oct 16, 2018

Repository files navigation

Bytom-WebAssembly

It is a project for Bytom WebAssembly

Prepare

git clone https://github.com/Bytom-Community/Bytom-WebAssembly.git $GOPATH/src/github.com/bytom-community/wasm

Build

Need Go version 1.11

cd $GOPATH/src/github.com/bytom-community/wasm
#default build
GOOS=js GOARCH=wasm go build -o main.wasm
#mini build
GOOS=js GOARCH=wasm go build -tags=mini -o main.wasm 

WebAssembly JS Function

mini build

createKey
resetKeyPassword
signTransaction1

default build

createKey
resetKeyPassword
createAccount
createAccountReceiver
signTransaction
signTransaction1

About

It is a project for Bytom WebAssembly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages