nodejs-sdk icon indicating copy to clipboard operation
nodejs-sdk copied to clipboard

Support compilinig 国密 contract with library

Open leayingly opened this issue 4 years ago • 1 comments

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?

leayingly avatar Sep 17 '20 04:09 leayingly

頑張ってください‼

vita-dounai avatar Sep 24 '20 10:09 vita-dounai