Closed mahnunchik closed 7 months ago
thank you for this pr @mahnunchik, graphql naming convention is not standard, and hence we will be unable to use that format. It would be ideal to use the cardano-cli output naming convention as it will be maintained in long term. plz see this explanation https://github.com/StricaHQ/typhonjs/issues/5
This PR is related to https://github.com/StricaHQ/typhonjs/issues/21 because coins/lovelacePerUtxo
Byte should be used.
@ashisherc What do you think about accepting number
as a parameter or even both BigNumber
/number
with internal conversion?
cardano-cli query protocol-parameters
. I don't have running node for now.parameters
as is without conversion to internal BigNumber.
This PR makes
protocolParams
look like parameters from Cardano GraphQL response.stakeKeyDeposit
tokeyDeposit
priceSteps
topriceStep
(endings
)priceStep
andpriceMem
according to latest API response.Docs: