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

Basic Tutorial (Current Account Contract)

Vinay Rawal answered on April 3, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • The purpose of this advanced contract tutorial

  • Basic Tutorial (Current Account Contract)

    0

    Introduction

    This series is designed for Vault version 4.0 and later, using Smart Contracts API version 3.X.X.

    This tutorial series will introduce you to the concept of Smart Contracts in Vault and to teach you how to write a simple Smart Contract yourself.

    A Smart Contract is the representation of the financial logic of a given bank Product. Written in a safe subset of Python, it allows to deterministically describe the behaviour of a Product for all events of its life-cycle.

    The first step to writing a smart contract is gathering your requirements and designing how you want your smart contract to operate. For this tutorial, we are going to use a simple Current Account Product with an Overdraft facility. This product will allow the customer to spend money, enter an overdraft and charge them a fee when they withdraw past their overdraft limit nonetheless paying a small amount of interest on positive balances. 

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Apr 03 2023
    Vinay 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.