Evgeny

Results 130 issues of Evgeny

Feature request: add `endian` (`le` or `be`) argument to bn.js `toString` method. Motivation: working with `ed25519` curve from `elliptic` module there is an inconvenience. Issue in bn.js repo: https://github.com/indutny/bn.js/issues/272

EDDSA `decodePoint` method doesn't support Buffer as argument. ```js import elliptic from 'elliptic'; const ec = new elliptic.eddsa('ed25519'); const point = ec.decodePoint(Buffer.from('bd85a61bae0c101d826cbed54b1290f941d26e70607a07fc6f0ad611eb8f70a6', 'hex)); // Throws error /node_modules/elliptic/lib/elliptic/eddsa/index.js:104 var normed =...

What is a reason to manipulate with bytes in private key? https://github.com/indutny/elliptic/blob/e71b2d9359c5fe9437fbf46f1f05096de447de57/lib/elliptic/eddsa/key.js#L52-L63

It would be helpful to have original `hash` included in returned `P2Ret` for hash based payments: p2sh, p2pkh, p2wsh, p2wpkh. ```ts type P2Ret = { type: string; script: Bytes; address?:...

enhancement

Argument `fee` not used in `createTx` method. https://github.com/paulmillr/micro-sol-signer/blob/bcd389c72628ca2581accef27f74804b15da9e48/index.ts#L784-L791

bug

Allow to pass lamports as `BigInt` to `createTx` to have similarity with other micro/scure crypto libraries.

enhancement

I've faced with the task of calculating the fee for a transaction. Solana has RPC method `getFeeForMessage` https://docs.solana.com/ru/api/http#getfeeformessage But the parameter is `Message` not a `Transaction`. Library doesn't allow to...

enhancement

I've used `convertRadix` function on the cashaddr implementation https://github.com/paulmillr/scure-base/pull/24 and it converts 5-bit number correctly according to the checksum tests. But I've faced with that simple test gives incorrect result:...

> Starting on June 1, 2023, at 00:00 UTC, industry standards will require private keys for standard code signing certificates to be stored on hardware certified as FIPS 140 Level...

Is it possible to use `packed` to handle protobuf data?