Skip to content

Loopring/go-loopring-sig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDdsa Signature Implementation in Go

Install

Install Golang

Install Xcode Command Line Tools

go install golang.org/x/mobile/cmd/gomobile@latest

wasm

wasm tinygo: v0.30.0 wasm_exec.js from $(tinygo env TINYGOROOT)targets/wasm_exec.js

gomobile init

Build

iOS

gomobile bind -target=ios -o ./ios/loopringGoSign.xcframework

This command will generate a binary according to the target platform.

Drag the binary into project and build.

Android

gomobile bind  -target=android  -o ./android/loopringGoSign.aar

You can find the aar file in the android directory.

Python

go build -o loopringGoSign.so -buildmode=c-shared python/main.go

ln -s ../../../../go-loopring-sig/loopringGoSign.so loopringGoSign.so

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.6%
  • C 1.4%