github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/dev/wasm/escrow/README.md (about)

     1  # Escrow
     2  
     3  This is a simple single-use escrow contract. It creates a contract that can hold some
     4  native tokens and gives the power to an arbiter to release them to a pre-defined
     5  beneficiary. They can release all tokens, or only a fraction. If an optional
     6  timeout is reached, the tokens can no longer be released, rather they can only
     7  be returned to the original funder. Tokens can be added to the contract at any
     8  time without causing any errors, or losing access to them.
     9  
    10  This contract is mainly considered as a simple tutorial example. In the real
    11  world, you would probably want one contract to manage many escrows and allow
    12  some global configuration options on it. It is generally simpler to rely on
    13  some well-known address for handling all escrows securely than checking each
    14  deployed escrow is using the proper wasm code.
    15  
    16  As of v0.2.0, this was rebuilt from
    17  [`cosmwasm-template`](https://github.com/confio/cosmwasm-template),
    18  which is the recommended way to create any contracts.
    19  
    20  ## Using this project
    21  
    22  If you want to get acquainted more with this contract, you should check out
    23  [Developing](./Developing.md), which explains more on how to run tests and develop code.
    24  [Publishing](./Publishing.md) contains useful information on how to publish your contract
    25  to the world, once you are ready to deploy it on a running blockchain. And
    26  [Importing](./Importing.md) contains information about pulling in other contracts or crates
    27  that have been published.
    28  
    29  But more than anything, there is an [online tutorial](https://www.cosmwasm.com/docs/getting-started/intro),
    30  which leads you step-by-step on how to modify this particular contract.