particle_chains

Last updated:

0 purchases

particle_chains Image
particle_chains Images
Add to Cart

Description:

particle chains

homepage #
https://docs.particle.network/overview/available-networks
install #
dart pub add particle_chains
copied to clipboard
example #
import 'package:particle_chains/particle_chains.dart';

void main() {
print(ChainInfo.Ethereum); // Ethereum
print(ChainInfo.Ethereum.id); // 1
print(ChainInfo.Ethereum.name); // 'Ethereum'
print(ChainInfo.PlatON.id); // 210425

print(ChainInfo.getChainType(ChainInfo.Ethereum)); // demo

// print(ChainInfo.ParticleChains);
// print(ChainInfo.getAllChainInfos());

// https://rpc.particle.network/evm-chain?chainId=123&projectUuid=aaa&projectKey=bbb
print(ChainInfo.getParticleNode(123, 'aaa', 'bbb'));
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.