Skip to content

Conversation

@zachfedor
Copy link
Collaborator

  • Adds ability to create wallet with optional details: singularity wallet create --name "my wallet"
  • Adds ability to create SP wallet: singularity wallet create --address f12345 --actor-id f0123
  • Handles all edge cases if parameters are not correct
  • Validates addresses and actor ID
  • Adds ability to modify details of any wallet: singularity wallet update --name "new name" --location "somewhere else" --contact "their@email.com"
  • Adds ability to update wallet after initialization: singularity wallet init f12345

Relies on #517

Adds command and API endpoint to initialize a newly created wallet with
the ActorID on chain. Once a wallet is created with `singularity wallet
create` and it's been sent Fil or DataCap, run `singularity wallet init
<address>` to run a lookup and update it's ActorID field.
Adds the ability to update name, location, and contact fields for
wallets. Fields like address, actor ID, balances, and type may not be
updated.
Allows creating wallets of SPWallet type from create handler. This
will validate the provided Address and ActorID to prevent errors.
Also allows inserting optional details like name, contact info, and
location on creation rather than requiring a separate update.
@Sankara-Jefferson Sankara-Jefferson deleted the branch data-preservation-programs:zach-wallet-create June 20, 2025 00:30
require.NotNil(t, resp.Payload)
})
t.Run("ListWallets", func(t *testing.T) {
resp, err := client.Wallet.ListWallets(&wallet2.ListWalletsParams{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing test for UpdateWallet.

@Sankara-Jefferson Sankara-Jefferson marked this pull request as ready for review June 26, 2025 01:42
@Sankara-Jefferson Sankara-Jefferson merged commit 8219668 into data-preservation-programs:zach-wallet-create Jun 26, 2025
31 of 36 checks passed
parkan pushed a commit that referenced this pull request Oct 22, 2025
- Adds ability to create wallet with optional details: `singularity
wallet create --name "my wallet"`
- Adds ability to create SP wallet: `singularity wallet create --address
f12345 --actor-id f0123`
- Handles all edge cases if parameters are not correct
- Validates addresses and actor ID
- Adds ability to modify details of any wallet: `singularity wallet
update --name "new name" --location "somewhere else" --contact
"their@email.com"`
- Adds ability to update wallet after initialization: `singularity
wallet init f12345`

Relies on #517

The lint error is addressed by PR #523.
parkan pushed a commit that referenced this pull request Oct 22, 2025
parkan pushed a commit that referenced this pull request Nov 6, 2025
- Adds ability to create wallet with optional details: `singularity
wallet create --name "my wallet"`
- Adds ability to create SP wallet: `singularity wallet create --address
f12345 --actor-id f0123`
- Handles all edge cases if parameters are not correct
- Validates addresses and actor ID
- Adds ability to modify details of any wallet: `singularity wallet
update --name "new name" --location "somewhere else" --contact
"their@email.com"`
- Adds ability to update wallet after initialization: `singularity
wallet init f12345`

Relies on #517

The lint error is addressed by PR #523.
parkan pushed a commit that referenced this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants