This PR adds the command npm run deploy:spv_collateral which will lock additional collateral on the Bitcoin chain, and provide a proof to the example spv request manager to update the collateral balance in the contract.
Note: the command does require the LOAN and PRINCIPAL env values be set
i.e. LOAN=1 PRINCIPAL=SAI npm run deploy:spv_collateral
Submission Checklist :pencil:
[x] Add npm run deploy:spv_collateral for testing adding collateral
Description
This PR adds the command
npm run deploy:spv_collateral
which will lock additional collateral on the Bitcoin chain, and provide a proof to the example spv request manager to update the collateral balance in the contract.Note: the command does require the
LOAN
andPRINCIPAL
env values be seti.e.
LOAN=1 PRINCIPAL=SAI npm run deploy:spv_collateral
Submission Checklist :pencil:
npm run deploy:spv_collateral
for testing adding collateral