Code Monkey home page Code Monkey logo

atomic-transfer-with-algorand's Introduction

PERFORMING ATOMIC TRANSFERS WITH ALGORAND BLOCKCHAIN

Atomic transfers allow complete strangers to trade assets without the need for a trusted intermediary, all while guaranteeing that each party will receive what they agreed to.

OVERVIEW

An Atomic Transfer is an operation that allows multiple transactions which are compiled as one to either succed or fail as a whole. On Algorand, atomic transfers are implemented as irreducible batch operations, where a group of transactions are submitted as a unit and all transactions in the batch either pass or fail. This also eliminates the need for more complex solutions like hashed timelock contracts that are implemented on other blockchains. Atomic transfers enable use cases such as: Circular trades - Alice pays Bob if and only if Bob pays Claire if and only if Claire pays Alice. Group payments - Everyone pays or no one pays. Decentralized exchanges - Trade one asset for another without going through a centralized exchange. Distributed payments - Payments to multiple recipients. Pooled transaction fees - One transaction pays the fees of others.

With ATOMIC SWAP, we can be able to

(a) Loading two existing accounts... (b) Create a new account (c) Generate a mnemonic for the created account (d) Expose the Initial balances of the two existing accounts (e) Send a Transaction (f) Sign the Transaction (g) Display the Transaction Information in a json format (h) Show the transaction on AlgoExplorer

atomic-transfer-with-algorand's People

Contributors

eugenennamdi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.