Pontem Studio
Website ➚Github ➚Liquidswap Docs
  • 📌00. About Pontem
    • Pontem Product Development Studios
    • Team
  • 👛01. Wallet
    • Introduction
    • Getting Started
    • API Reference
    • Wallet Adapter
    • Demo
  • 📘02. Move Language
    • Introduction
    • Move Playground
    • Intellij IDE Extension Tutorial
  • 📚03. Tutorials
    • Aptos Tutorial
    • Move Playground
  • 🔗04. Resources
    • Liquidswap
    • Pontem Aptos Wallet
    • Site
    • Public nodes
  • 🧑‍🔬 05. Dev Resources
    • Github
    • Aptos Documentation
    • Move Documentation
    • IntelliJ IDE Extension
  • 🦄06. Community
    • Discord
    • Telegram
Powered by GitBook
On this page
  • Getting Started
  • Wallets Adapter
  1. 01. Wallet

Getting Started

PreviousIntroductionNextAPI Reference

Last updated 2 years ago

You are reviewing an outdated version of the Pontem Wallet documentation! We recommend switching to the most recent version from the new official website!

Getting Started

Use the v1.3.0 or higher version of Pontem Wallet to go through the current docs.

Wallets Adapter

If you want to use Aptos Wallet Adapter, navigate to the Wallet Adapter documentation and skip the current doc.

Provider Browser Detection

When the page is loaded, the provider is integrated into the site page. You can check it this way:

if (typeof window.pontem !== 'undefined') {
  console.log('Pontem Wallet is installed!');
}

After that, you need to request access to the site from the user, for this use the connect method:

window.pontem.connect()
    .then(address => console.log(`Access for address ${address} allowed by user`))
    .catch(e => console.log('Access denied by user', e))

After that, you can fully interact with all wallet methods.

👛
❗
⚠️