Built-in Context States:
π Ethereum Provider
You can import the
useEthereum
context within any page or component in order to globally manage the connected Universal Profile Browser Extension. Thesrc/contexts/EthereumContext.tsx
can:Get the current browser provider
Connect and remove the Universal Profile
Act on provider or address changes
Toggle Web3 Onboard functionality
π©βπ€ Profile Provider
You can import the
useProfile
context within any page or component in order to globally manage profile data from the Universal Profile Browser Extension. Thesrc/contexts/EthereumContext.tsx
can:Retrieve and decode metadata of the Universal Profile
Store and update information based on provider changes
Optimize image selection and frontend rendering
πΈοΈ Network Provider
You can import the
useNetwork
context within any page or component in order to globally manage the network connection of the Universal Profile Browser Extension. Thesrc/contexts/NetworkContext.tsx
can:Get the current selected network
Check if the network is supported
Switch networks or act on changes
Control related RPCs and IPFS Gateways