Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wax
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
wax
Merge requests
!282
Add signature providers
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add signature providers
tm-sign-ext
into
develop
Overview
0
Commits
40
Pipelines
46
Changes
1
Merged
Mateusz Tyszczak
requested to merge
tm-sign-ext
into
develop
1 month ago
Overview
0
Commits
40
Pipelines
46
Changes
1
Expand
Requires:
common-ci-configuration!75 (merged)
Edited
3 weeks ago
by
Bartek Wrona
0
0
Merge request reports
Viewing commit
52ee19a3
Show latest version
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
52ee19a3
cpp_convert_raw_public_key_to_wif exposed to WASM interface
· 52ee19a3
Bartek Wrona
authored
4 weeks ago
ts/wasm/src/wasm_interface.cpp
+
6
−
0
Options
@@ -100,6 +100,11 @@ std::string cpp_convert_raw_private_key_to_wif(const std::string& hexData)
return
foundation
::
cpp_convert_raw_private_key_to_wif
(
hexData
);
}
std
::
string
cpp_convert_raw_public_key_to_wif
(
const
std
::
string
&
hexData
)
{
return
foundation
::
cpp_convert_raw_public_key_to_wif
(
hexData
);
}
result
cpp_get_public_key_from_signature
(
const
std
::
string
&
digest
,
const
std
::
string
&
signature
)
{
return
foundation
::
cpp_get_public_key_from_signature
(
digest
,
signature
);
}
@@ -312,6 +317,7 @@ EMSCRIPTEN_BINDINGS(wax_api_instance) {
.
function
(
"cpp_generate_private_key"
,
&
foundation_wasm
::
cpp_generate_private_key
)
.
function
(
"cpp_generate_private_key_password_based"
,
&
foundation_wasm
::
cpp_generate_private_key_password_based
)
.
function
(
"cpp_convert_raw_private_key_to_wif"
,
&
foundation_wasm
::
cpp_convert_raw_private_key_to_wif
)
.
function
(
"cpp_convert_raw_public_key_to_wif"
,
&
foundation_wasm
::
cpp_convert_raw_public_key_to_wif
)
.
function
(
"cpp_get_public_key_from_signature"
,
&
foundation_wasm
::
cpp_get_public_key_from_signature
)
// Based on https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html#overloaded-functions:
Loading