https://github.com/iandennismiller/italics
https://github.com/iandennismiller/italics
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iandennismiller/italics
- Owner: iandennismiller
- Created: 2021-06-22T10:37:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-05T14:37:11.000Z (over 4 years ago)
- Last Synced: 2023-04-18T03:24:46.113Z (over 2 years ago)
- Language: Solidity
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# italics
## Workflows
### Reading
- the user does a single-sign-on thing by literally signing a message from the address with the reader token
- the server can check the blockchain to verify that address A holds token T
- the server will display a list of all assets available to address A based on tokens [T] held.
### Buying
- address connects to website via Metamask
- reader clicks widget to buy token to read document
- invoke contract with purchase_token() to send funds to contract
- contract sends token to reader address
- the address gets assigned as the holder of a specific ERC-1155 token
### Publishing
- invoke contract with list_asset(), URI, and sale amount
- create widget for URI and price
## Example
The file has the following metadata:
- name: New Insights in Blockchain Economies
- url: http://localhost:8080/QKruVYruACKhpiBEUftdRgSgkTRdP1E2GYtoeUbsCqM/report.pdf