Sunday-morning is a decentralized live-broadcast platform.
LINE
XKIISE
Blockchain Competition Entry Work
Based on ICON Token Standard
Appearance of new business models, like live commerce and curation commerce, requires new SNS platform. Sunday-morning
, the decentralized live-broadcast platform, is designed for fitting these needs. Because of the properties of decentralization, Sunday-morning
makes both creators and consumers active. The service provider delegates authority to users—creator, consumer, and advertiser, etc.—.
With our platform, there are many opportunities to expand business. Donation and subscription, live commerce, curation commerce, and so on. Also you are able to settle profits automatically, so what you need is a just passion!
We expect to activate and spread the live broadcasting ecosystem through Sunday-morning
. Why don't you join us?
- Creator uploads paid videos on the platform.
- Contract automatically distributes profit.
- Video upload
- Donation
- Auto-distribution
- Creator adds advertisements on his own video.
- Contract automatically distributes sales.
- Advertisement
- Buying
- Auto-distribution
- User makes a playlist and shares it.
- Contract automatically distributes profit.
- Making a Playlist
- Watching Videos through the Playlist
- Auto-distribution
upper version 3.6, under version 3.7
python 3.6.7 recommended
- tbears 1.0.6.2
- requests 2.19.1
Only for macOS and Linux.
brew install leveldb
brew install rabbitmq
brew services start rabbitmq
mkdir work
cd work
virtualenv -p python3 .
source bin/activate
pip install tbears
$ cd work
$ source bin/activate
(work) $ tbears start
(work) $ tbears keystore <private.key>
(work) $ tbears deploy -k <keystore_file> [-c deploy_json] <contract_dir>
Get "scoreAddress" by tbears txresult <the above TxID>
.
- For example:
cxc083078edbe951560728105235c235d6f5906c65
(work) $ tbears call <call_json>
Or you can use HTTP POST instead:
curl -X POST http://127.0.0.1:9000/api/v3 -H"Content-Type: application/json; application/json" -d @<call_json>
Here is a sample of <call_json>
below. Change "id", "from", "to", "method", and "params".
{
"jsonrpc": "2.0",
"method": "icx_call",
"id": 1234,
"params": {
"from" : "hx27d99b5a1d8ffdd58bce204c303153a1a388eead",
"to" : "cx509430b08e156d002ade0e1cbdf0b2c5a5daad45",
"dataType": "call",
"data": {
"method": "purchase",
"params": {
"_hash" : "0x0000123412341234123412341234123412341234123412341234123412341234",
"_value" : "100"
}
}
}
}
(work) $ tbears stop
$ tbears clear
Click on the image above to play the video.
Click on the image above to play the video.
'pkg-config' is required to install this package. Please see the README for details.
Do brew install pkg-config
, brew link pkg-config
and pip install tbears
.
tbears samples
causes an error like:
The samples command has been deprecated since v1.1.0 ...
When you receive the above error, go https://github.com/icon-project/samples, download files, move them into /work. Then do tbears deploy -k private.key hello_world/hello_world/
, Input your keystore password, step by step.
...
"failure": {
"code": "0x7d64",
"message": "Out of step: contractSet"
}
...
When you receive an "Out of step" error, assign more "stepLimit" in the request message.
...
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "put is not allowed"
}
...
When you receive an "put is not allowed" error, try this stopgap:
-
Go to
~/word/lib/python3.6/site-packages/iconservice/database/db.py
,_is_db_writable_on_context()
. -
Change the following code
... return context_type != IconScoreContextType.QUERY and \ func_type != IconScoreFuncType.READONLY
to
... return True
LINK dApp Development Guide
ICON Token Standard RI
ICON Documents
@Luke Park
@Minseo Park
@Jeonga Seo
The Sunday-morning project is licensed under the MIT, also included in our repository in the LICENSE file.