🚀
ProticoSDK
  • 👋Welcome to Protico
  • Overview
    • 💡What we do
    • ✨Our Features
  • SDK
    • 🛠️Getting started
    • 📝Web3 Providers
      • Use existing provider
      • Initialize ProticoAuthCore
        • MetaMask
        • WalletConnect
        • Web3Auth
      • Login
      • Full example
    • 🧑Interact with Ceramic
      • Setting up Ceramic
      • 👤Profile
      • 🤝Contacts
    • Use Protico APIs
      • ⚙️Settings
      • 📋Whiteboard
      • 🗒️Announcement
      • ▪️Blocklist
    • 🔑User Keys
      • Encryption / Decryption
    • Considerations
      • Protico API Key
      • Rate Limiting
Powered by GitBook
On this page
  1. SDK
  2. Interact with Ceramic

Setting up Ceramic

Once you have your Web3 Provider ready, you can quickly setup Ceramic with the following two steps.

If you don't have a provider at this point, go back to Web3 Providers

Step 1 : Initialization

Initialize the Ceramic client with an optional endpoint. Protico's endpoint will be used by default.

const ceramicClient = new ProticoCeramic(ceramicEndpoint?:string);
Step 2 : Connection to the provider

You can now login using the previously obtained provider, and your dApp domain.

const hasLoggedIn = await ceramicClient.login(
        provider, 
        domain,
      );
      

PreviousInteract with CeramicNextProfile

Last updated 1 year ago

🧑