1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-17 12:00:02 +02:00

include/libeosio/WIF.hpp: adding prefixes constants.

This commit is contained in:
Henrik Hautakoski 2023-03-23 19:14:51 +01:00
parent f8630de098
commit 9114c17315

View file

@ -29,6 +29,14 @@
namespace libeosio {
/**
* Key prefixes. (strings that is not equal to these prefixes are treated as legacy format.)
*/
const std::string WIF_PUB_LEG = "EOS";
const std::string WIF_PUB_K1 = "PUB_K1_";
const std::string WIF_PVT_K1 = "PVT_K1_";
/**
* Encode an EC private key to WIF String.
*/