Open barretodavid opened 1 year ago
I think there might be a confusion regarding how accounts are handled. starkli
does not directly support any specific key types. Instead, it supports whatever keys expected by the support account flavors. Right now, the only support flavor is OpenZeppelin. Additional key types will be supported once we add more "flavors" that make use of them.
@barretodavid May I know which specific account contract implementations make use of these curves?
The structure of the file
account.json
that describes an account contract only supports one type,open_zeppelin
that relies on a single signer using the stark friendly elliptic curve found in thecairo
packageecdsa
.It would be very useful to also include support for single signer using secp256k1 (Ethereum's ECC) and secp256r1 (Standard ECC). Both ECCs are already available inside the
cairo
repo understarknet
.