@cardano-ogmios/repl
Advanced tools
Comparing version 5.6.0 to 6.0.0-latest
{ | ||
"name": "@cardano-ogmios/repl", | ||
"version": "5.6.0", | ||
"version": "6.0.0-latest", | ||
"description": "REPL for Cardano Ogmios", | ||
@@ -42,4 +42,3 @@ "engines": { | ||
"dependencies": { | ||
"@cardano-ogmios/client": "5.6.0", | ||
"chalk": "^4.1.0", | ||
"@cardano-ogmios/client": "6.0.0-latest", | ||
"yargs-parser": "^20.2.7" | ||
@@ -46,0 +45,0 @@ }, |
@@ -12,11 +12,9 @@ # Cardano Ogmios TypeScript Client Packages - REPL | ||
## Build From Source | ||
See instructions in [Workspace root] | ||
[ChainSyncClient]: ../client/src/ChainSync/ChainSyncClient.ts | ||
[latest release]: https://github.com/cardanosolutions/ogmios/releases | ||
[Workspace root]: ../.. | ||
## Example | ||
## Example | ||
``` js | ||
ogmios> await currentEpoch() | ||
ogmios> await epoch() | ||
256 | ||
@@ -26,72 +24,23 @@ | ||
{ | ||
hash: '41364e89e44370a009f083ce9963261aabf6138db519b039012232bf40f187f8', | ||
id: '41364e89e44370a009f083ce9963261aabf6138db519b039012232bf40f187f8', | ||
slot: 25541023 | ||
} | ||
ogmios> await currentProtocolParameters() | ||
ogmios> await protocolParameters() | ||
{ | ||
poolDeposit: 500000000, | ||
protocolVersion: { minor: 0, major: 4 }, | ||
minUtxoValue: 1000000, | ||
minFeeConstant: 155381, | ||
maxTxSize: 16384, | ||
minPoolCost: 340000000, | ||
maxBlockBodySize: 65536, | ||
extraEntropy: 'neutral', | ||
minFeeCoefficient: 44, | ||
poolInfluence: '3/10', | ||
maxBlockHeaderSize: 1100, | ||
stakeKeyDeposit: 2000000, | ||
decentralizationParameter: '1/50', | ||
desiredNumberOfPools: 500, | ||
poolRetirementEpochBound: 18, | ||
monetaryExpansion: '3/1000', | ||
treasuryExpansion: '1/5' | ||
minFeeConstant: { lovelace: 155381n }, | ||
maxBlockBodySize: { bytes: 90112 }, | ||
maxBlockHeaderSize: { bytes: 1100 }, | ||
maxTransactionSize: { bytes: 16384 }, | ||
stakeCredentialDeposit: { lovelace: 2000000n }, | ||
stakePoolDeposit: { lovelace: 500000000n }, | ||
stakePoolRetirementEpochBound: 18, | ||
... | ||
} | ||
``` | ||
ogmios> chainSync.startSync() | ||
ogmios> ROLL BACKWARD | ||
Point | ||
{ | ||
hash: '21d0038f32a5e969caf110970a0657267e685c6492e0ce7d048ec601a29fcc2e', | ||
slot: 25551317 | ||
} | ||
Tip | ||
{ | ||
hash: 'eb3725d8065683a5b760aabc158283ee580928e736d6f8dacc840c567236dedf', | ||
blockNo: 5527800, | ||
slot: 25551480 | ||
} | ||
[ChainSyncClient]: ../client/src/ChainSync/ChainSyncClient.ts | ||
[latest release]: https://github.com/cardanosolutions/ogmios/releases | ||
[Workspace root]: ../.. | ||
ogmios> ROLL FORWARD | ||
Block | ||
{ | ||
mary: { | ||
body: [ | ||
{ | ||
body: { | ||
withdrawals: {}, | ||
validityInterval: { invalidHereafter: 100000000, invalidBefore: null }, | ||
inputs: [ | ||
{ | ||
index: 1, | ||
txId: '83e246ea8def447f71a981307e99e9455bad761e2817320319daed2b42a6bec2' | ||
} | ||
], | ||
fee: 178233, | ||
certificates: [], | ||
outputs: [ | ||
{ | ||
value: { coins: 754010453, assets: {} }, | ||
address: 'DdzFFzCqrhsrZ7RaLpeWen2bQCKyp2iPcAvE9HmB18VJh39dixDfGdXcxQRS9vUfU3jCv5qMrrTz62MpWXefmWouxDBmVeLyDjLNxHJi' | ||
} | ||
], | ||
mint: { coins: 0, assets: {} }, | ||
update: null | ||
}, | ||
witness: { | ||
script: {}, | ||
address: [ | ||
{ | ||
signature: 'vMpZfapEPMeA7JA7CAa5JYT8XrsYxw+3o/VseAmPG86xtNfB07mvbXV5ed8Pccmi3MgB0RIc4hJ2SaKmaYwyBg==', | ||
... |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
37731
2
7
56
0
3
45
1
+ Added@cardano-ogmios/client@6.0.0-latest(transitive)
+ Added@cardano-ogmios/schema@6.0.0-latest(transitive)
+ Addedbech32@2.0.0(transitive)
- Removedchalk@^4.1.0
- Removed@cardano-ogmios/client@5.6.0(transitive)
- Removed@cardano-ogmios/schema@5.6.0(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedsupports-color@7.2.0(transitive)