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-fLMak+yVquaIplg0xybCQb8YuloUi2FXrj98CkwYoX6xcfcYrn9IJ5vx7PQVWZZ8LiIuQHAN/WzkIvXkmU4E7A==",
"shasum": "8cd533e7a31719ce82b96e20bff80848e9aa01bd",
"tarball": "https://registry.npmjs.org/0xkarl-everscale-standalone-client/-/0xkarl-everscale-standalone-client-2.1.11.tgz",
"fileCount": 41,
"unpackedSize": 184518,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIAQKMOwU0Lw6EPDyfUmXVpv9ScqEmipVe/GGDtH2dWJcAiBUubSHFFV0OFojennSFYfhzriV+p9/Gl24XlGOzraYXw=="
}
],
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjg4EsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBlg/+ND7NeQazLHwpbBox4Tzj6MAE+GmEzXTa7D+jUfxGpZv5xOIj\r\nfLlPw9CezPg9KMx1HrwmDpsEvcYzQIdi/Bh9P4ysoBAJbTRrNMPlaMYGuEql\r\n8MmTxYGqMvd+LX+iX3X+kKzNbtCR8FEw6/F2ORE1xcHwhhEW0veInZRPIF90\r\nSI2fkEKA9awSwRbc7Z83eMIgb3t7G9MyxhjDZz2l/xwfauO7ILqWYzr3YSr4\r\nFC6QBUTV9r0ybRTVGrGQtFmzi5FAQC/iI56OiJxfXFpcp16vdDMXCVdEpsaE\r\nyO8W3ybJllfyIRRorZ2sUbu3XMbL+T0mVeRQASKsQVjbn3IlyI8zuVvNInY4\r\nVTY05laGawC2KveuhrbjiAXqr45x7jPbk4pOxC827uh4yX5F9BuhZeT1L6II\r\nxboBLLVZTqppJ6vrIAPrc8YN3KyzqPTLK/j7psgkuS+Z8chDypBrKU3yavLu\r\nCXnocn2Kn/XrGVzbLGcdUL265SiDoG6CmhZ1ImMl0HBM4gWLK1OcXBevb5Wr\r\nyt+rotmUnnf/0wOGdciNhKkQS73DvSb75PtJsldJGozCKphHdK/HN7tlnrzu\r\nlTM2b/BFYFTUq6+k3Y9rDSXpU+WzqkLjA5XVrIYoR3DlJwJmW06mbTVIvG+H\r\nioXkxJSpYXGhMH7feeBYiocIxwW18vGkvN4=\r\n=nRzC\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:cbc3466df79b72ecbdd35dcc46cb5c0ff320e2549df6865407b19e0700daab64