degen-lab / mining-coordinator

0 stars 0 forks source link

Config STX seed as participant in the mining pool #2

Open BowTiedDeployer opened 1 year ago

BowTiedDeployer commented 1 year ago

The Stacks Node currently supports having a BTC address and sends the rewards to a different principal/smart contract address.

This will add the participant to be able to get his info on the Stacks Side from the seed:

  1. will get the address and its stats on the SC.
  2. Will be able to sign for him txs.
BowTiedDeployer commented 1 year ago

Check if stacks_seed can be tested in this bitcoin_integration_test

https://github.com/stacks-degens/stacks-blockchain/blob/ac35cde2c3106b0abf03e1378db317ca14ad8eca/testnet/stacks-node/src/tests/bitcoin_regtest.rs#L161-L165

test for smart contract using stacks_seed

BowTiedDeployer commented 1 year ago

In development here

https://github.com/stacks-degens/stacks-blockchain/commit/01933fd3b2896e138d5766d47a60cecef118f019