Griptape.js
  • What is Griptape.js?
  • 🛹Getting Started
  • 🚀Bootstrapping Your App
  • 🗞️Interacting with Contracts
    • Contract Definitions
      • More on Definitions
    • Creating Contract Clients
    • Built-In Definitions
    • Extending Contract Definitions
    • Contract Registry
    • Instantiating Contracts
  • 🔑Using Viewing Keys and Permits
    • Using the viewing key manager
    • Using Keplr with Griptape
    • Managing Permits
  • 🕢Handling Events
  • ⚒️Using Utilities
  • 🔀API Reference
    • Bootstrap
    • Contracts
    • Viewing Keys
    • Permits
    • Events
    • Utilities
  • 🐝Tricks Tutorials
    • React Tutorials
      • Hello, Griptape
      • Hello, Contracts
      • Hello, Events
      • Hello, Viewing Keys
      • Hello, Permits
      • Hello, Transactions
      • Hello, Mint
    • Vue Tutorials
      • Hello, Griptape
      • Hello, Contracts
      • Hello, Events
      • Hello, Viewing Keys
      • Hello, Permits
      • Hello, Transactions
      • Hello, Mint
  • 💾Hackathon
    • Welcome Packet
    • Getting Set Up
    • Glossary
Powered by GitBook
On this page

Using Viewing Keys and Permits

This section goes over how to use and store viewing keys and permits using Griptape.

Viewing keys and permits are one of the most unique feature of Secret Network. It authorizes queriers for contracts to access account specific data, providing a layer for security and compliance of the data stored in the contract.

In order to manage viewing keys and permits, Griptape uses the local storage on the browser to locally access them when querying contracts. It also integrates natively with Keplr, therefore enabling already created viewing keys to be added to your application. There are many benefits of doing this as you will see in the next sections of this guide, but essentially, this set of APIs closes the gap between using viewing keys while making queries on your contracts.

PreviousInstantiating ContractsNextUsing the viewing key manager

Last updated 3 years ago

🔑