AtomicLoans / agent

💥 Atomic Agent
1 stars 3 forks source link

Add deploy collateral #86

Closed matthewjablack closed 4 years ago

matthewjablack commented 4 years ago

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 and PRINCIPAL env values be set

i.e. LOAN=1 PRINCIPAL=SAI npm run deploy:spv_collateral

Submission Checklist :pencil: