amanusk / starknet-cli-wallet

Basic example of deploying and using starknet.js for basic wallet operations
MIT License
35 stars 11 forks source link

New Feature: Replace public key #1

Open amanusk opened 2 years ago

amanusk commented 2 years ago

Add and test the option to replace the public key with a new seed/pk

Spelchure commented 2 years ago

Hello i want to contribute can you give more details please ?

amanusk commented 2 years ago

Hey, So each account is deployed with a private/public key pair, but the public key can be changed. This is already supported by the contract, but needs to be added to the lib.

It will be easier to test once I add some basic tests so we can check nothing gets broken