StakeWise V3
  • Main Hub
  • Guides
    • Staking
    • Running a Vault
    • osToken
    • DeFi
      • SWISE-ETH Liquidity Pool
    • StakeWise V2
      • Migrate to StakeWise V3 on Ethereum
      • Migrate to StakeWise V3 on Gnosis Chain
      • Change solo withdrawal credentials to 0x01 address
        • Using Ledger Nano X
        • Using Windows
        • Using macOS
      • Exit solo validator
  • Protocol overview (in-depth)
    • Introduction
    • Vaults
    • osToken
    • Fees
    • Oracles
  • For operators
    • Operator Service
      • Running with Remote Signer
      • Running with Hashi Vault
      • Running as API service
      • Monitoring
    • Kubernetes staking setup
    • Smoothing Pool relays
    • Migrate from V2
      • Ethereum
      • Gnosis
    • DVT
      • Running operator with DVT
    • Vault incentives
    • Vault performance
  • For developers
    • Create a Vault
    • Stake
    • Unstake
    • Oracles
    • Contributions
    • Networks
      • Gnosis
      • Mainnet
      • Hoodi
      • Chiado
  • Governance
    • StakeWise DAO
    • DAO Treasury
Powered by GitBook
On this page
  1. For developers

Contributions

PreviousOraclesNextNetworks

Last updated 1 year ago

Guide for contributors.

This guide will help you to contribute to Stakewise Operator or Oracle service.

Commit signature

Repository settings require all commits to be signed. You have to setup GPG signature locally. See .

Installation

  1. Install . See Dockerfile in project sources for exact poetry version.

  2. Check out github repo.

  3. Run poetry install --no-root. This command will install all dependencies including dev dependencies.

  4. Add project directory to PYTHONPATH. For example: export PYTHONPATH=.

Linting and testing

Github CI pipeline is disabled for pull requests from forked repositories. So you have to run linters and tests locally.

  1. Run linters: black src && pre-commit run -a

  2. Run tests: pytest

instructions
poetry