pendulum-chain / pendulum-prototype

Pendulum prototype: Second Layer Network for Stellar and the DeFi ecosystem
MIT License
10 stars 6 forks source link

De-harcode address and amount for deposit #16

Closed gonzamontiel closed 3 years ago

gonzamontiel commented 3 years ago

Before we were depositing mocked funds to a mocked account in Pendulum. This PR de-harcodes the amount, the asset and the destination account of the deposit so it corresponds with the incoming Stellar tx.

andywer commented 3 years ago

The title is wrong. This draft PR won't add depositing to the node prototype, but it will de-hardcode the deposit amount and address in the existing depositing code, right?

gonzamontiel commented 3 years ago

The title is wrong. This draft PR won't add depositing to the node prototype, but it will de-hardcode the deposit amount and address in the existing depositing code, right?

Yes Andy, this is totally correct. I just gave it a quick name, sorry for that. I fixed it now =)

gonzamontiel commented 3 years ago

Closing this. Duplicate of https://github.com/pendulum-chain/pendulum-prototype/pull/21