Skip to content

Commit

Permalink
Update currency.md
Browse files Browse the repository at this point in the history
  • Loading branch information
crosschainer authored Jun 14, 2024
1 parent ed8643b commit 2dad4ea
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/examples/currency.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
title: XSC003 Token Contract
description: This is the currency contract used on Xian, it features a cryptographic permit system for approvals as well as a streaming functionality to supoprt subscription type functionaly.
description: This is the currency contract used on Xian, it features a cryptographic permit system for approvals as well as a streaming functionality to support subscription type functionality.
---

# XSC003 Token Contract
## Overview
Example Xian Smart Contract based Dice game with random functions and house edge. Range based dice with multiplier winnings based on range.
Example Xian Token Smart Contract based Dice game with random functions and house edge. It features a cryptographic permit system for approvals as well as a streaming functionality to support subscription type functionality.

This example demonstrates :
- How to use the `crypto` module to verify signatures.
- How to use the `hashlib` module to generate hashes.
Expand Down Expand Up @@ -317,4 +318,4 @@ def construct_stream_permit_msg(sender:str, receiver:str, rate:float, begins:str

def strptime_ymdhms(date_string: str) -> datetime.datetime:
return datetime.datetime.strptime(date_string, '%Y-%m-%d %H:%M:%S')
```
```

0 comments on commit 2dad4ea

Please sign in to comment.