Observed since 20 Oct, 17:51 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
0xkarl-everscale-standalone-client
<p align="center"> <h3 align="center">Everscale standalone client</h3> <p align="center">Standalone client to the Everscale blockchain to use with <a href="https://github.com/broxus/everscale-inpage-provider"><code>everscale-inpage-provider</code>
Standalone client to the Everscale blockchain to use with everscale-inpage-provider
npm install --save everscale-inpage-provider everscale-standalone-client
import { Address, ProviderRpcClient, TvmException } from 'everscale-inpage-provider';
// For browser environment:
import { EverscaleStandaloneClient } from 'everscale-standalone-client';
// Or for nodejs environment:
// import { EverscaleStandaloneClient } from 'everscale-standalone-client/nodejs';
const ever = new ProviderRpcClient({
fallback: () =>
EverscaleStandaloneClient.create({
connection: {
id: 2, // network id
type: 'graphql',
data: {
// create your own project at https://dashboard.evercloud.dev
endpoints: ['https://devnet-sandbox.evercloud.dev/graphql'],
},
},
}),
});
async function myApp() {
await ever.ensureInitialized();
await ever.requestPermissions({
permissions: ['basic'],
});
const dePoolAddress = new Address('0:2e0ea1716eb93db16077d30e51d092b075ce7f0eb1c08ca5bea67ef48a79368e');
const dePool = new ever.Contract(DePoolAbi, dePoolAddress);
try {
const output = await dePool.methods.getDePoolInfo({}).call();
console.log(output);
} catch (e) {
if (e instanceof TvmException) {
console.error(e.code);
}
}
}
const DePoolAbi = {
'ABI version': 2,
header: ['time', 'expire'],
functions: [
{
name: 'getDePoolInfo',
inputs: [],
outputs: [
{ name: 'poolClosed', type: 'bool' },
{ name: 'minStake', type: 'uint64' },
{ name: 'validatorAssurance', type: 'uint64' },
{ name: 'participantRewardFraction', type: 'uint8' },
{ name: 'validatorRewardFraction', type: 'uint8' },
{ name: 'balanceThreshold', type: 'uint64' },
{ name: 'validatorWallet', type: 'address' },
{ name: 'proxies', type: 'address[]' },
{ name: 'stakeFee', type: 'uint64' },
{ name: 'retOrReinvFee', type: 'uint64' },
{ name: 'proxyFee', type: 'uint64' },
],
},
],
data: [],
events: [],
} as const; // NOTE: `as const` is very important here
myApp().catch(console.error);
Using Vite you will stuck with issue. As workaround you may initialize provider like in the example below.
import { Address, ProviderRpcClient } from 'everscale-inpage-provider';
import { EverscaleStandaloneClient } from 'everscale-standalone-client';
const client = new ProviderRpcClient({
forceUseFallback: true,
fallback: () =>
EverscaleStandaloneClient.create({
connection: {
/*...*/
},
initInput: '../../node_modules/nekoton-wasm/nekoton_wasm_bg.wasm',
}),
});
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
@broxus/await-semaphoreEnvironment{
"local_name": "@broxus/await-semaphore",
"alias": false,
"peer_metadata": null
} | ^0.1.5 | runtime |
bignumber.jsEnvironment{
"local_name": "bignumber.js",
"alias": false,
"peer_metadata": null
} | ^9.1.0 | runtime |
eventsEnvironment{
"local_name": "events",
"alias": false,
"peer_metadata": null
} | ^3.3.0 | runtime |
everscale-inpage-providerEnvironment{
"local_name": "everscale-inpage-provider",
"alias": false,
"peer_metadata": null
} | ^0.3.45 | runtime |
fast-safe-stringifyEnvironment{
"local_name": "fast-safe-stringify",
"alias": false,
"peer_metadata": null
} | ^2.1.1 | runtime |
nekoton-wasmEnvironment{
"local_name": "nekoton-wasm",
"alias": false,
"peer_metadata": null
} | ^1.0.5 | runtime |
node-fetchEnvironment{
"local_name": "node-fetch",
"alias": false,
"peer_metadata": null
} | ^2.6.7 | runtime |
@types/eventsEnvironment{
"local_name": "@types/events",
"alias": false,
"peer_metadata": null
} | ^3.0.0 | development |
@typescript-eslint/eslint-pluginEnvironment{
"local_name": "@typescript-eslint/eslint-plugin",
"alias": false,
"peer_metadata": null
} | ^5.31.0 | development |
@typescript-eslint/parserEnvironment{
"local_name": "@typescript-eslint/parser",
"alias": false,
"peer_metadata": null
} | ^5.31.0 | development |
eslintEnvironment{
"local_name": "eslint",
"alias": false,
"peer_metadata": null
} | ^8.21.0 | development |
eslint-config-prettierEnvironment{
"local_name": "eslint-config-prettier",
"alias": false,
"peer_metadata": null
} | ^8.5.0 | development |
eslint-plugin-prettierEnvironment{
"local_name": "eslint-plugin-prettier",
"alias": false,
"peer_metadata": null
} | ^4.2.1 | development |
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^4.7.4 | development |
Source distribution
{
"integrity": "sha512-chGGN8ajoEMO58nvNgIGjly6OiBXY/2Es26fBn4mV78788b234gK5KCi0H15k++xuk9M4DuBODKML6VCXqRDsA==",
"shasum": "cc2ebdf48730903476017adf9227a34f80580fe0",
"tarball": "https://registry.npmjs.org/0xkarl-everscale-standalone-client/-/0xkarl-everscale-standalone-client-2.1.8.tgz",
"fileCount": 41,
"unpackedSize": 184531,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEYCIQCWuxX3/ESEn/VuOD/Hu0LPjG2KxmKx4FXAZfVb9mS02AIhANYMig7JwJ9dxgQOCWcfQPBoaSMDG/WpmAv6j1gAeBzx"
}
],
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjg3/+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRjA//d2R5BNsYEvlU/ooVFja8Nl6Pqdgo/7NoLMFkglJsAUrkLxkN\r\nLxfQupVNBAbYJa9zXLaRfTSq6lVjMqbzvagvW3aM2dxsyDa/fiiFcs5Yo2mv\r\nT90YqyjgppjMn9P0Dxgcq7xoIvyP/sA8cjpmAhkjmdd8Ug8LFuKs2o1A1LD0\r\n19rqQTNxJwcF9FPFCioXoWY130Lgxl8CBTJxOQBKd0mcprdc/w7P2pq9F2a2\r\nUV51f3hQzyrx9KuBtyDlAMKcKkryJJGglnrspurdnik4CjA7vzUP/xOG+L2+\r\nSK4Dk7QwrogBl1nuPiMG4chQ3rqhyo6WA21bkiAyzmGhfXMBsYwoWw6G0grU\r\nM1sIlSS49/kiVO3KrkmJIYfp+LzaOACRKp9AJMxzNDL/bkT2++PjsGVJmYLd\r\nmd9c8WMTVxBJJ7BH9dxURtl7Khw8mIP+dyD2BqIjXXmDqFK68qX9uhm5bpQ+\r\nlXj+HYt+Jf71i6HHUWpv7scbl7N2iN1GHc1whGbwXRuq6hVFHvTtogtV11jx\r\nK4yXh5xELXSUElVUUqdnXhCC/RrCKvpx2TF3Ab6qKa6YGf7neUtfYEN7ktbQ\r\nmVr3rQcwt2mG/2UqqosxlJdNcN1oqRlEPSU725vBU0eBi+Tuf9mVRPcrC/2r\r\ncQ8GcJJIGbB4U1tFCcL3oHjwu0OCvSfR1Dw=\r\n=gMy/\r\n-----END PGP SIGNATURE-----\r\n"
}Shared repository data · GitHub
Observed since 20 Oct, 17:51 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:37e8087b6ffd9f84729fe51db7cfb791db6c9c8decfcfb2d3193c74ad42ec37d