Picket Docs
Search…
β›“
Supported Blockchains
Picket uses a slug to identify all supported blockchains. The supported chains are
  • ethereum (Mainnet)
  • polygon (Mainnet)
  • optimism (Mainnet)
  • arbitrum (Arbitrum One)
  • avalanche (Avalanche C-Chain)
  • solana (Mainnet Beta)
  • solana-testnet (Solana Testnet)
  • solana-devnet (Solana Devnet)
Requests default to using ethereum. For all other chains, pass the chain parameter into the login request. When the solana chain is passed, login will prompt the user to sign into their Phantom wallet.
Javascript
// Login with Solana
await picket.login({ chain: "solana" });
​
// Login with Ethereum
await picket.login({ chain: "ethereum" });
​
// Login with Polygon
await picket.login({ chain: "polygon" });
​
// Login with Optimism
await picket.login({ chain: "optimism" });
​
// Login with Arbitrum
await picket.login({ chain: "arbitrum" });
​
// Login with Avalanche C-Chain
await picket.login({ chain: "avalanche" });
​
// defaults to Ethereum
await picket.login();
Pending demand, we plan to support more chains soon and will update this section as we do. Have a chain you'd like supported soon? Let us know via email at [email protected] and we'll prioritize it accordingly.
Copy link