Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds integration guide for Particle Network #556

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Next Next commit
Create initialization.en.ts
  • Loading branch information
TABASCOatw authored Oct 18, 2023
commit b7fa8680c34d69bac4dce997591335f6d1510ac6
12 changes: 12 additions & 0 deletions code/wallet/Particle/initialization.en.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const particle = new ParticleNetwork({
projectId: "xx",
clientKey: "xx",
appId: "xx",
chainName: Solana.name, // Imported from @particle-network/chains
chainId: Solana.id, // Imported from @particle-network/chains
wallet: { // Optional: by default, the wallet entry is displayed in the bottom right corner of the webpage.
displayWalletEntry: true, // Show wallet UI popup on entry
defaultWalletEntryPosition: WalletEntryPosition.BR, // Wallet popup entry position
uiMode: "dark", // Optional: light or dark
},
});