Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Principal payment

Satinder Rawal answered on April 23, 2023 Popularity 6/10 Helpfulness 1/10

Contents


More Related Answers

  • Payment Service:
  • Payment step
  • Smart contracts – can you do settlement payment without authorization?
  • Payment integrations

  • Principal payment

    0

    Development and testing environment setup is completed, so we can start adding code to the Smart Contract. The first thing we are going to implement is a payment of a loan principal between two accounts. That action will happen after the loan account is opened by a customer. The hook which is run after an account is opened in Vault is the post_activate hook.

    From the requirements we analysed earlier we know that we need to move funds between accounts, but for that we also need to know how much money the customer wants to borrow, in which currency and which account they want the principal to be transferred to. This information will come from Contract Parameters, so as a first step, we should define them in our Smart Contract's code. That will look like this:

    Popularity 6/10 Helpfulness 1/10 Language python
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Apr 23 2023
    Satinder Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.