All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
TS CLI&SDK 2.1.2 (2025-02-04)
- cli:
fund-bond-sol
subcommand provides a way to fund bond directly from the user's wallet without a need to manually create a stake account - cli institutional: creating a new package
@marinade.finance/validator-bonds-cli-institutional
where functionality is based on the originalvalidator-bonds-cli
while streamlining the experience to focus strictly on managing bond accounts
TS CLI&SDK 2.1.1 (2025-02-04)
Wrong version, skipped.
TS CLI&SDK 2.1.0 (2025-02-04)
Issue with published deployment.
TS CLI&SDK 2.0.6 (2025-01-13)
- cli:
claim-withdraw-request
to work correctly with--stake-account
TS CLI&SDK 2.0.5 (2025-01-09)
- cli:
claim-withdraw-request
to having option--stake-account
forcing to claim particular account (PR#158)
TS CLI&SDK 2.0.4 (2024-10-08)
- cli:
bond-address
to display address of withdraw request for the bond (PR#128) - cli:
claim-withdraw-request
to work with addresses of stake accounts (PR#123)
- cli: handle better errors when bond or withdraw request exist on chain on init (PR#122)
- cli:
show-event
to correctly parse cpi event data of the contract (PR#118) - sdk:
configureConfig
to accept0
as a valid value (PR#105)
- address:
vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- tag:
contract-v2.1.0
, commit:4a5b009
, - tx:
5Thoyave21LckBdbVDsAehaVHcR43werbJsz6QJurFxux3tnpqKfVKY2T5Ytc7B8L6cSq29U5pRjK8L8sRtQqMG9
- anchor verify command:
git checkout 4a5b009 &&\ anchor verify --provider.cluster mainnet -p validator_bonds \ --env "GIT_REV=`git rev-parse --short HEAD`" --env 'GIT_REV_NAME=v2.1.0' vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- Removal of instructions related to version
v1
:closeSettlement
,closeSettlementClaim
,claimSettlement
(PR#109) - Update
FundSettlement
instruction to handle non-delegated lamports. Input accounts were changed. (PR#77)
TS CLI&SDK 2.0.3 (2024-08-30)
- possible to use long version of
-u
parameter that is--url
to define rpc url address show-bond
to display number of SOLs locked in bond
show-bond
fix the way how fieldamountToWithdraw
is calculated
TS CLI&SDK 2.0.2 (2024-08-26)
claim-withdraw-request
not throwing error on already claimed request
claim-withdraw-request
make possible to claim a bond with anactivating
stake account when other funded accounts are alreadyactive
TS CLI&SDK 2.0.1 (2024-08-05)
fund-bond
to show information and not an error when funding stake account is already fundedshow-bond
to accept stake account address and showing delegated voter as base for PDA bond account addressshow-settlement
to better format merkle tree root data
TS CLI&SDK 2.0.0 (2024-07-11)
- CLI and SDK updated to be aligned with changes in contract
v2.0.0
- added command
bond-address
to show PDA based on vote account address and config account address show-bond
does not show information about funded stake account by default, parameter--with-funding
has to be used explicitly
show-bond
fix on showing negative number after floating point when withdraw amount is bigger than available bond amount
- address:
vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- tag:
contract-v2.0.0
, commit:848fc78
, - tx:
2soQznKuK2oJN8671qkUG2hNPcQU8jKEJt8SNWctsfWAJnhZYAT39QVtMQ8LZPeEhBBgASff37UEeDPL6DobdCoC
- anchor verify command:
git checkout 848fc78 &&\ anchor verify --provider.cluster mainnet -p validator_bonds \ --env "GIT_REV=`git rev-parse --short HEAD`" --env 'GIT_REV_NAME=v2.0.0' vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
SettlementClaim
account is not about to be used anymore. Deduplication of claiming will not be made with creating the PDA account but using bitmap data structure in accountSettlementClaims
(PR#73)
fund_bond
instruction permits to fundStakeAccount
in stateActivating
and not only fully activated stake accounts (PR#74)claim_settlement
instruction permits to withdraw amount of SOL when exactly matching the size of theStakeAccount
(PR#70)
TS CLI&SDK 1.5.3 (2024-06-30)
show-bond
fix on SOL units formatting
TS CLI&SDK 1.5.2 (2024-06-27)
init-bond
andconfigure-bond
--max-stake-wanted
works with lamports (not SOLs)
TS CLI&SDK 1.5.1 (2024-06-17)
show-bond
to simplify printing vote account datainit-withdraw-request
to limit the creation of the withdraw request to the minimal size of the stake account
- address:
vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- tag:
contract-v1.5.0
, commit:776e0f0
, - tx:
4hEUA7nz6ysDJ686F3kRgwGpkH3HpiE1jvqvpZ5YeBEEz7ycEA3kkFDZfApV8TqCagFpxXpC9UfSoaXNswH91CGU
- anchor verify command:
git checkout 776e0f0 &&\ anchor verify --provider.cluster mainnet -p validator_bonds \ --env "GIT_REV=`git rev-parse --short HEAD`" --env 'GIT_REV_NAME=v1.5.0' vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- changes in
Config
andBond
account, and related instructions, to be possible to configure fieldscpmpe
andmax_stake_wanted
TS CLI&SDK 1.5.0 (2024-06-14)
Versioning skips one major version from 1.4.0 to align with the contract update version.
configure-config
adds option--min-bond-max-stake-wanted
, a minimum value for max-stake-wanted field (in lamports) inBond
accountconfigure-bond
adds option--max-stake-wanted
, the maximum stake amount (in SOLs) to be delegated to them- updates of
show-bond
to provide info oncpmpe
andmax-stake-wanted
field, listing content ofvote account
- default CLI error reporting does not print whole exception, to get it printed use
--debug
- CLI show information about latest available version in the NPM registry when an error occurs
TS CLI&SDK 1.3.6 (2024-05-13)
show-bond
acceptswithdraw request
as address argumentinit-withdraw-request
accepts parameter"ALL"
for--amount
TS CLI&SDK 1.3.5 (2024-05-06)
- CLI: fixing withdraw claim command that was wrongly filtering stake accounts possible for claiming
- fixing issue with CLI bin publishing from 1.3.4
TS CLI&SDK 1.3.3 (2024-04-26)
- CLI show uses term
number
for providing info on count of arguments - bond related commands uses bond and vote account addresses
TS CLI&SDK 1.3.2 (2024-04-15)
- CLI help to show global options for subcommands as well
TS CLI&SDK 1.3.1 (2024-04-15)
- CLI show-bond to not querying
getEpochInfo
for every loaded stake account, mitigating errorServer responded with 429 Too Many Requests
TS CLI&SDK 1.3.0 (2024-04-12)
CLI and SDK aligned with contract release v1.4.0
cancel-settlement
command was added
- CLI considers solana config file when loading keypair
- address:
vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- tag:
contract-v1.4.0
, commit:7e6d35e
, - tx:
BmsU9Zdjt1dPrRckvNknz9kUYQZVFKKWW91nFAoDPAWfEsuSVpZm7EQi6UD4dFJpKLXF4nGYEy6Z69c43qpApgx
- anchor verify command:
git checkout 7e6d35e &&\ anchor verify --provider.cluster mainnet -p validator_bonds \ --env "GIT_REV=`git rev-parse --short HEAD`" --env 'GIT_REV_NAME=v1.4.0' vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
TS CLI&SDK 1.2.1+1.2.2 (2024-04-09)
- README updates
- bumps of library dependencies
- cli
show-config
to display bonds-withdrawer-authority calculated PDA
TS CLI&SDK 1.2.0 (2024-03-19)
CLI and SDK aligned with contract release v1.3.0
init-withdraw-request
,cancel-withdraw-request
,claim-withdraw-request
commands were added to work with funding and withdrawing stake accounts to Bonds Programmint-bond
command were added to make possible to configure the bond account without signing CLI with validator identityconfigure-bond
command adjusted to work withmint-bond
SPL tokensshow-bond
adjusted to show funded amountspause
,resume
commands for emergency purposes added
- on execution the error
Server responded with 429 Too Many Requests. Retrying after 1000ms delay...
should not be failing the commands anymore
- address:
vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- tag:
contract-v1.3.0
, commit:776b1b7
, - tx:
4a6LZFT1CzBSpCGY6SUcw1MPwxKVXt7h2Z4J21MSrH5uKmXnNmXQtMzpJt4oPTKbjXDGzpZyHrAUMxsHkUAESDSK
- anchor verify command:
git checkout 776b1b7 &&\ anchor verify --provider.cluster mainnet -p validator_bonds \ --env "GIT_REV=`git rev-parse --short HEAD`" --env 'GIT_REV_NAME=v1.3.0' vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
TS CLI&SDK 1.1.12 (2024-02-19)
show-bond
command accepts vote account address, not only the bond account address
TS CLI&SDK 1.1.11 (2024-02-15)
- moved to work with contract update v1.2.0
show-bond
command is capable to list more bond records than before (still limited bygetProgramAccounts
RPC call)
- address:
vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- tag:
contract-v1.2.0
, commit:7be11c7
, - tx:
2D4JnDLZ7wuD41gzdMNYGc9Rya9AFR6XTZqhDxQGPq3bLY7WazadLHpH8AjFnZ6HtF6T4jLpGoqEd574Ecjb73hY
- anchor verify command:
git checkout 7be11c7 &&\ anchor verify --provider.cluster mainnet -p validator_bonds \ --env "GIT_REV=`git rev-parse --short HEAD`" --env 'GIT_REV_NAME=v1.2.0' vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
TS CLI&SDK 1.1.10 (2024-02-04)
- allow init-bond to be used without validator identity signature, aligning with contract v1.1.0 update
- address:
vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- tag:
284f060
- tx:
4o894JcxJJQcq9HXnfdrBKfydvgfxdXqgnbvGPK6vEoZeGXfeURunFBvhKEtBr7zrCjN5LYXrxXkvKSsdzUHTD1n
- anchor verify command:
git checkout 284f060 &&\ anchor verify --provider.cluster mainnet -p validator_bonds --env "GIT_REV=`git rev-parse --short HEAD`" --env 'GIT_REV_NAME=v1.1.0'`
TS CLI&SDK 1.1.8 (2024-01-30)
- pubkeys arguments to accept keypair or wallet and take the pubkey part from it
TS CLI&SDK 1.1.7 (2024-01-27)
- CLI works better on confirming sent transactions
TS CLI&SDK 1.1.4 (2024-01-15)
- CLI does not require
--keypair
path to exist whenshow-*
command or--print-only
is used
TS CLI&SDK 1.1.3 (2024-01-12)
- adding create, cancel, withdraw request SDK functions
- address:
vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- tag:
16aec25
- tx:
5WseNRgBgqQD2eZD6z4S8aFhPUWX741tiYGTnheENZ34SisH2rZVzsBotnVj52oTBxwCr5wSYqxog8FLMeXGrg58
TS CLI&SDK 1.1.1 (2024-01-05)
- support for ledger in CLI
- adding fund bond CLI command
- address:
vBoNdEvzMrSai7is21XgVYik65mqtaKXuSdMBJ1xkW4
- tag:
33a5004
- tx:
5uSwyCpQe3zniVRU6sdbWdaoiLNoiAf9TggqhNRe7BsUN2hxquwWhERTd2jBcMVScmAgYNgA9keVxJ1qf6hnwJvf
TS CLI&SDK 1.1.0 (2024-01-03)
- bond will be now created with validator identity signature instead of vote account withdrawer
- readme published to npm registry
- CLI fixing nodejs bin installation
- fixing
--keypair
argument being parsed correctly
TS CLI&SDK 1.0.3 (2024-01-02)
- readme published to npm registry
- CLI fixing nodejs bin installation
- fixing
--keypair
argument being parsed correctly
TS CLI&SDK 1.0.0 (2023-12-31)
- SDK and CLI with init, configure and show
Config
andBond
accounts