FISCO-BCOS / FISCO-BCOS/nodejs-sdk

Support compilinig 国密 contract with library

Open
#110 1 comment 0 reactions 1 assignee Claimed by @leayingly View on GitHub
enhancement
Dominant language
JavaScript
Stars
61
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Currently compilation will throw "libraries linking is not supported under `SM_CRYPTO` mode".

The idea of solc linker is to replace \_\_$xxxxx$\_\_ placeholder(hash of library name) in compiled contract with deployed address of that library.

For ECDSA it's using solidity Keccak256 to hash library name.
For GM is it sm3?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.