Particle Network

Particle Network is an intent-centric, modular access layer of web3 applications. With Particle’s Smart Wallet-as-a-Service, developers can curate an unparalleled user experience through modular and customizable EOA/AA embedded wallet components. Using MPC-TSS for key management, Particle can streamline user onboarding via familiar web2 accounts - such as Google accounts, email addresses, and phone numbers.

Install the NPM Packages

npm install --save web3 @particle-network/auth @particle-network/provider

Example Code

import Web3 from 'web3';
import { ParticleNetwork } from '@particle-network/auth';
import { ParticleProvider } from '@particle-network/provider';
import { SKALENebula } from '@particle-network/chains';

const config = {
  projectId: process.env.REACT_APP_PROJECT_ID,
  clientKey: process.env.REACT_APP_CLIENT_KEY,
  appId: process.env.REACT_APP_APP_ID,
};

const particle = new ParticleNetwork({
  ...config,
  chainName: SKALENebula.name,
  chainId: SKALENebula.id,
  wallet: { displayWalletEntry: true }
});

const web3 = new Web3(new ParticleProvider(particle.auth));