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-n+9PKcnhxYZBzbjNxpSzimogupTWLGb0qXLgvlUhAu+orTjGJ63I7lC7fPwuR+aUsdsm9+MopGHYMexloFyXTA==",
"shasum": "239367de84458f0e9f9a8097eae6f58680423bf1",
"tarball": "https://registry.npmjs.org/0xkarl-everscale-standalone-client/-/0xkarl-everscale-standalone-client-2.1.6.tgz",
"fileCount": 27,
"unpackedSize": 165341,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIGqVI0hnOw289eniqV+sZrgWGqXNjzYm9POgReIj2mQzAiEAs0f5tylQPhXxibaFoUyvJt/q101ppnTyDjhdwCSnzZA="
}
],
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjg38QACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmok+BAAnfa5oJXbJvCQeCrdv9PKs96ie1yMwjnwZsGTYccBiOR1zqUv\r\n0jZj7Z/X2uXIRx+dvh+If/TJJjcxGqYMXRZmqCjWQKJo07nOYIXX2GaEbqr9\r\nz499QZ30vyIpce9a0ujS/dBTPtReBjwqBnjKJ7qlkPyTD66whnvtrPxYYntP\r\nTn+AcBkE6+unhuidnoV9SeH6D39lZi6oLAP7cC9FncO2aMXEoOLhABys6sUL\r\ns+mOoiiB801g/ATap1gsBjWKG0Lzp/CeQGIqN7fenZUyc5/EiHSvNZ4iDaeA\r\njEs3PlBEFRRVZfS3LVW1o6PiLDq2AaQPsQIHfK8fHbVyfZfgms6aIZ245+d8\r\nqUdjlnX5Qe2rneV7h2jbpZHko6uryPfq+xup0rQc8fUtfVu8nd0ZFBUMLhB7\r\nijZaV2fQq1/Xc8bOsQ7CZrCmSJB5CWVrHZMTzSYNSccvK9vdJmAqPlJ9UMNY\r\n74y8gYFguYI/N60DX0F9gRr6dzusdRVRi8MVs0yKuw8mXLKvuMafyf9P/qac\r\nAqlEhxQjJBi/jFDu3riAN07rwucBFBhhKp02JLY4UbhP2Op8AQqe6Uto7jXh\r\nURgeIC1FrABGWViRkgUsaxinxffcsXPEIUIhDfxICSedRX5lROijqjnLrydT\r\npPTNxzhb8qD5v2OV7bK2yoXLOpRlJOohRWU=\r\n=oV7g\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:5ad226f3ae6d97dbb747bb805d5cb942e9153305f7cc5efeb4f3957439a4df64