https://github.com/fireblocks/tezos_staking_sdk
Stake Tezos on Fireblocks
https://github.com/fireblocks/tezos_staking_sdk
Last synced: 9 months ago
JSON representation
Stake Tezos on Fireblocks
- Host: GitHub
- URL: https://github.com/fireblocks/tezos_staking_sdk
- Owner: fireblocks
- License: mit
- Created: 2023-02-27T09:50:22.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T11:43:40.000Z (over 2 years ago)
- Last Synced: 2025-02-03T18:56:23.856Z (11 months ago)
- Language: TypeScript
- Size: 15 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fireblocks Tezos Staking
**Prerequisites:**
1. Enable RAW signing feature by contacting Fireblocks' support team
2. Set transaction authorization policy rule that governs the RAW signing operation, the policy should include the following parameters:
a. Initiator
b. Designated Signer
c. Asset - XTZ
d. Source (vault accounts) - Optional
e. Authorizers - Optional
**How to stake XTZ:**
Run - setDelegate(fireblocks, url, destination, vaultAccountId, reveal);
**How to unstake XTZ:**
In case you want to empty the entire XTZ balance:
Run - setDelegate(fireblocks, url, "", vaultAccountId, reveal=false);
**Parameters:**
1. fireblocks = FireblocksSDK instance
2. url = JSON RPC URL (set by default, can be changed to any other URL)
3. destination = XTZ Baker address
4. vaultAccountId = vault account id of the XTZ wallet
5. reveal = if there is no any outgoing transactions were made out of this wallet - true, else - false