Skip to content

Bytom-Community/Bytom-WebAssembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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