Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,12 @@ glow help <command> # View help for a command

The full, in-depth tutorial may be found [here](https://glow-lang.org/docs/Glow_Tutorial.html).

### Being worked on

You can watch our [GitHub repository](https://github.com/Glow-Lang/glow)
for current developments.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As @plotnick mentioned in #411, the link to the GitHub repo does still make sense, since the README can be viewed from a local checkout, not just on GitHub.


### More information

For more information on Glow, see our web site
[glow-lang.org](https://glow-lang.org), including
[glow-lang.org](https://glow-lang.org), which includes
[our documentation](https://glow-lang.org/docs).

If you are a developer, you may also be interested in
[our wiki](https://github.com/Glow-lang/glow/wiki), including
[our wiki](https://github.com/Glow-lang/glow/wiki), which includes
[our Roadmap](https://github.com/Glow-lang/glow/wiki/Roadmap).
Binary file added closing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added closing_a_sale.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added coin-flip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions dapps/images/buy_sig.plantuml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@startuml

title Closing of a Sale
actor Buyer
database Consensus
actor Seller

Buyer -> Consensus: create contract, escrow Price
Seller -> Consensus: publish Signature
Consensus -> Consensus: verify Signature, release escrow

@enduml
Binary file added dapps/images/buy_sig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dapps/images/deadman-switch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions dapps/images/rock-paper-scissors.plantuml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@startuml

title Rock Paper Scissors
actor Alice
database Blockchain
actor Bob

Alice -> Alice: Choose her Hand (Rock or Paper or Scissors)
Alice <-> Blockchain: Store obfuscated selected Hand
Alice -> Blockchain: Deposit wager

Bob -> Bob: Choose his Hand
Bob -> Blockchain: Store his Hand (It doesn't need obfuscation)
Bob -> Blockchain: Deposit wager
Blockchain -> Blockchain: Calculate winner

alt [Alice wins]
Blockchain -> Alice: Withdraw both wagers
else [Bob wins]
Blockchain -> Bob: Withdraw both wagers
End

Blockchain -> Alice: Withdraw her wager
Blockchain -> Bob: Withdraw his wager
Blockchain -> Blockchain: Send proceeds according to outcome


@enduml
Binary file added dapps/images/rock-paper-scissors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions dapps/images/simple_auction.plantuml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@startuml

title Simple Auction
actor Seller
database Blockchain
actor Alice
actor Bob
actor Peter
actor Paula

Seller -> Blockchain: create an auction for Goods, expiring on<date> with BuyItNowPrice of <$$$>
Blockchain -> Blockchain: CurrentLeader is Seller with 0 ADA
Alice -> Blockchain: Bid 100 ADA
Blockchain -> Blockchain: CurrentLeader is Alice with 100 ADA
Bob -> Blockchain: Bid 200 ADA
Blockchain -> Blockchain: CurrentLeader is Bob with 200 ADA
Blockchain -> Alice: take back your 100 ADA, you are no longer the leader

alt [someone pays the BuyItNowPrice]
Paula -> Blockchain: I'm paying the buy it now price.
Blockchain -> Blockchain: Current Leader is Paula
Blockchain -> Bob: take back your 200 ADA you are no longer the leader
end

Blockchain -> Paula: winner take the goods
Blockchain -> Seller: Another authentication Response


@enduml
Binary file added dapps/images/simple_auction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added deadman-switch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified glow
100755 → 100644
Binary file not shown.
Binary file added resources/buy_sig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/deadman-switch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/glow_logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/rock-paper-scissors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/simple_auction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added rock-paper-scissors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simple_auction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.