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
Prev Previous commit
Next Next commit
Create listeners.en.ts
  • Loading branch information
TABASCOatw authored Oct 18, 2023
commit 70887f7bcf7c19ec0cfbf09601943596f9851c19
11 changes: 11 additions & 0 deletions code/wallet/Particle/listeners.en.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
particle.auth.on('connect', (userInfo) => {
console.log("particle userInfo", userInfo);
});

particle.auth.on('disconnect', () => {
console.log("particle disconnect");
});

particle.auth.on('chainChanged', (chain) => {
console.log("particle chainChanged", chain);
});