signum-network / signumjs

SignumJS - Javascript SDK for Signum
https://docs.signum.network/signum/signumjs
Apache License 2.0
17 stars 8 forks source link

Adjust functions for fee calculation #2

Closed ohager closed 1 year ago

ohager commented 3 years ago

The upcoming hard fork changes the fee system and though adjustments are necessary. The fees calculation parameters are available through the constants api of the signum-node. I recommend to introduce a getNetworkGlobals function that returns all necessary information. Additionally, a fee calculation method depending on the transaction type is needed.

ohager commented 1 year ago

done