MetacoSA / NBitcoin

Comprehensive Bitcoin library for the .NET framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get new Key object from a BitInteger

KPLK opened this issue · comments

commented

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);
`
commented

Any update please?