MetacoSA / NBitcoin

Comprehensive Bitcoin library for the .NET framework.
MIT License
1.86k stars 840 forks source link

Get new Key object from a BitInteger #1153

Open KPLK opened 1 year ago

KPLK commented 1 year ago

Is there a way to get a new Key object from a BigInteger?

Like


BigInteger bInt = new BigInteger("154632486352");
Key key = new Key(bInt);

Or


`
Key key = Key.Parse(bInt.ToString(), Network.Main);
`
KPLK commented 1 year ago

Any update please?