Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

[Address Book v2] Make the address book global #2182

Description

@fernandomg

cf. Trello activity and problem statement

Title/Description

Currently, each safe has its own AB. We want to make it global for all safes for a given user.

Requirements

  • AB should be visible to all safes
  • A global localStorage item per domain/network
  • All name-address connections should come from AB (not settings)

Data structure

The address book should be a list of records like this:

type AddressBookEntry = {
  address: string: // the contact address
  name: string; // human-readable name
  chainId: number; // see https://chainid.network
}

Persistence layer

Simplify the logic that saves/restores the AB from the localStorage. Consider using a Redux plugin for that.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions