___  ___    _ _    _  _ _____   _____
 / __|/ _ \  | | |  | || |_ _\ \ / / __|
| (_ | (_) | |_  _| | __ || | \ V /| _|
 \___|\___/    |_|  |_||_|___| \_/ |___|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

SPK Network - Meta Data Proposal

BY: @disregardfiat | CREATED: June 27, 2024, 6:36 p.m. | VOTES: 403 | PAYOUT: $75.98 | [ VOTE ]

SPK Network File Storage

Reviews are starting to come in for the test SPK network. We are taking this time to respond to the feedback and put forth our proposal to include some quality of life changes. SPK Network is of course decentralized, and much like Hive with its various front ends, data can be displayed in a multitude of ways. So before we get the network in the wild, we thought we'd put fourth a proposed standard for meta data and inclusions.

Meta data is one string in a contract, this is transferred in the customJson and is limited to 8Kb currently by Hive.

[IMAGE: https://files.peakd.com/file/peakd-hive/disregardfiat/23tbKPsToT9EfZh5bx4ZZNm9tiaczn2Uz42X2oVxf4x9DcnAJQj6Pgm4FvyjWuBuLrwHd.png]

Auto-Renew

First up is Auto-Renew. This will allow a user to set it and forget it. When a contract is up for expiration the smart contract will check if the Auto-Renew bit is set to true, then will use up to half of their available Broca to extend the contract for a month. Users will no longer have to babysit their files to make sure they are stored, only that they have enough SPK powered up to match their use.

The first character of the metadata string will contain contract level flags like AutoRenew. Currently there is only the 1; leaving 5 bit flags unused.

Psuedo-code:

if ( metadata[0] & 1 ) renew()

Encryption and Sharing

Following the first character of the metadata string is optional contract level encryption keys. This is one AES key encoded as following. 1#encrypted@toaccount;#encrypted@toaccount,... This will allow authorized accounts to see they can decrypt the file, decrypt the message to them, and use the key to decrypt the files with out making changes to the file. This does mean that once a key is shared it can only be psuedo revoked, as the customJson will live with its data on the blockchain, but changing these keys in the future will allow you to add accounts to the scheme fairly easily.

File Names

Following the contract level first string in the metadata, each file will have 4 slots on comma separated values. There is full unicode support here, and slot one in the file name. 1,name1,,,,name2,,,,name3,,, This will allow a user to find their files with relative ease.

File Types

Next is allowing front-ends to handle files based on file type. Image files, video files, audio files etc etc all require different handling. To accomplish this the 2nd of each files slows is reserved for an extension. 1,name1,mp3,,,name2,jpeg,,,name3,txt,,

Thumbnails

The next slot is reserved for a thumbnail, which can be in the form of a IPFS CID or a full resource link. At dlux we are piping the files extension into an SVG which allows us to render a preview for any file type if no thumbnail is provided. But if a thumbnail is here we will respect it and show it to the end user. Maybe...

[IMAGE: https://files.peakd.com/file/peakd-hive/disregardfiat/Eo4Fqc15Q71gNGnKUxAAehMrpRVJoSGzELUpkhwME8kKriAdTiQW2wjzhSKWk5R4vqj.png]

Security and Visibility

The last slot in each file if for file level bit flags. All characters in this section are base64 numbers. These are:
* 1 Is the file encrypted
* 2 Is the file a thumbnail
* 4 Is the file NSFW
* 8 Is the file executable
* 16 Unused
* 32 Unused

1,cool,jpg,,6- Would flag this as a NSFW Thumbnail

The front ends can hide thumbnails from the file viewer by default, and use them to preview larger files, or obscure files if they are marked NSFW. Additional useful flag suggestions are welcome.

Licensing

Creative Commons has a few license types that we will support out of the box:

  1. CC BY: Creative Commons Attribution License
  2. CC BY-SA: Creative Commons Share Alike License
  3. CC BY-ND: Creative Commons No Derivatives License
  4. CC BY-NC-ND: Creative Commons Non-Commercial No Derivatives License
  5. CC BY-NC: Creative Commons Non-Commercial License
  6. CC BY-NC-SA: Creative Commons Non-Commercial Share Alike License
  7. CC0: Grant to Public Domain

Due to the nature of the blockchain, you can prove fair use in the future even if the author changed it's license level after your fair use. There can be a near infinite number of licenses, to include Stock license, and Hive Beneficiary... They only need to be written and agreed upon.

1,cool,jpg,,A-7 Would CCO/Grant to Public Domain this JPEG.

Labels

After any license the user can select some label to better organize their files, as there are no folders in the SPK network. This is our list. For any additional uses the user may use a color which could have a personal significance.

1#encKey@username,obscured,xxx,,1--15u Would be an encrypted file, with an obscured name, a hidden extension, no thumbnail, with an encryption flag, no license, and labeled as an Important Orange Idea

Ease of Use

[IMAGE: https://files.peakd.com/file/peakd-hive/disregardfiat/23w2D74QmrPvhx4ej2epX5542QsANiL9S4yg2HGm9CqZdeMm14gbznGoMGfoBGrwVj9ro.png]

All this data, if agreed upon by the front ends supporting SPK, can make the user experience much more intuitive and friendly. Searching through files by name and filtering files by flag and labels is the ultimate goal. With an easy way to build upon the works of others, properly credit their origin, and potentially share rewards.

We are looking for all comments and feedback, there are unused flags at both the contract and file level, as well as more space behind the labels for any additional ideas.

TAGS: [ #spk ] [ #dlux ] [ #dev ]

Replies

@hivetrending | June 27, 2024, 9:04 p.m. | Votes: 0 | [ VOTE ]

Do you have a list of front ends that are currently supporting SPK?

As a developer, I think it would be helpful if there were an NPM package for the metadata enums and helpers. Then, my code can reference the enum strings instead of the integer flags, and its easier to maintain.

@disregardfiat | June 27, 2024, 9:30 p.m. | Votes: 2 | [ VOTE ]

3speak dbuzz dlux... and I'm guessing Ecency will increase their support and actifit will add it. It's open to all.

@mcfarhat | June 28, 2024, 3:34 p.m. | Votes: 0 | [ VOTE ]

we already support 3speak videos on both web and android, coming in few days ios support as well.

@disregardfiat | June 27, 2024, 9:54 p.m. | Votes: 1 | [ VOTE ]

I think a package will be coming after our launch. We are still finalizing a lot of our code... and it's pretty complex.

@bpcvoter3 | June 28, 2024, 11:28 a.m. | Votes: 1 | [ VOTE ]

STOP THE ABUSE ON HIVE

FAKE HIVE POLICE

HIVE IS DEAD

HIVE IS ONE BIG FARM

!LOL !WEED !MEME !GIF

>60 votes
slobberchops [-]
gogreenbuddy [-]
cmplxty [-]
shanibeer [-]
antisocialist [-]
azabu [-]
acram64 [-]
mypathtofire [-]
willowranger [-]
bscrypto [-]
dhedge [-]
aaronkroeblinger [-]
lichtkunstfoto [-]
memehub [-]
chekohler [-]
modernzorker [-]
carn [-]
earthsea [-]
pinkhub [-]
kaylinart [-]
and 40 more

https://hive.blog/hive-104387/@bpcvoter3/se19g2

Downvoted BY HIVE FARMERS

>slobberchops (81)in #life • 6 days ago
The_commentphant.jpg

6 days ago in #life by slobberchops (81)$0.00
Reply 3
Sort: Trending
[-]bpcvoter2 (-5)(1) 4 days ago · Will be hidden due to low rating
NO DOWNVOTES FOR MARKY MARK'S SELF VOTING !WEED

https://hive.blog/life/@slobberchops/re-gogreenbuddy-sdr1wb

https://www.publish0x.com/the-dark-side-of-hive

https://www.reddit.com/r/stoptheabuseonhive/

https://peakd.com/hive-164833/@bilpcoinbpc/you-have-all-witnessed-this-account-being-downvoted-to-a-negative-reputation-for-no-reason

SHAME ON YOU ALL SAD PEOPLE WHO SCAM LIE AND FARM HIVE AND HIVERS

from Imgflip Meme Generator

from Imgflip Meme Generator

>
[-]acidyo (82) 3 months ago
Haha at "I shouldn't make commercial" :D Maybe something to worry about when you have more youtube subscribers! Quite interesting content though, these things should get more subs on there and here.

$4.28
1 vote
Reply
[-]gogreenbuddy (67) 3 months ago
Yeah thought that was funny too

$4.54
4 votes
gogreenbuddy: $4.47
acidyo: $0.06
holbein81: $0.01
koleso: -$0.00

https://hive.blog/life/@gogreenbuddy/i-had-to-give-up-on-my-gabion-fencing-too-much-work

@themarkymark @buildawhale @upmyvote @ipromote @gogreenbuddy @usainvote @punkteam @makerhacks @apeminingclub @leovoter @blockheadgamds @rollingbones farm @cwow2 @solominer @steevc @adm @abit @theycallmedan @dalz @abh12345

HE MAKES CURATION REWARDS WITH ALL HIS ALT ACCOUNTS BURNING TOKENS LIKE THIS DOES NOT TAKE OLD TOKENS IT MINTS NEW ONES AND BURNS THEM

https://hive.blog/hive-167922/@bilpcoinbpc/the-power

https://www.bilpcoin.com/hive-167922/@bilpcoinbpc/the-power

https://www.bilpcoin.com/hive-167922/@bpcvoter1/response-4-to-themarkymark-marcus-buildawhale-usainvote-ipomote-leovoter-gogreenbuddy-and-over-100-of-his-alt-accounts

Reply 2 to @eddiespino

Reply to @eddiespino

cwow stop the drink and drugs

Stop supporting the fake Hive police who do nothing but exploit Hive

Many people on Hive will never get to spend any of their Hive as it may become illegal in certain countries

from Imgflip Meme Generator

from Imgflip Meme Generator

from Imgflip Meme Generator

>Looking at Hive from the outside, it looks like trash let just be honest there are issues. Not many people would be interested in coming to Hive to read blogs let's be honest

@starkerz | June 28, 2024, 10:50 p.m. | Votes: 2 | [ VOTE ]

Also SPK Drive (a decentralised, incentivised replacement for cloud drive storage operates on SPK Network)

@rafzat | June 28, 2024, 9:19 a.m. | Votes: 0 | [ VOTE ]

!LADY

@ladytoken | June 28, 2024, 9:19 a.m. | Votes: 0 | [ VOTE ]

https://images.ecency.com/DQmbNGgo2ZfyBhJKoqCxyAUQFDPuGtk6Deh7ktYU92B1isW/loh_lady.png
View or trade LOH tokens.
@rafzat, you successfully shared 0.1000 LOH with @disregardfiat and you earned 0.1000 LOH as tips. (1/4 calls)
Use !LADY command to share LOH! More details available in this post.

@bpcvoter3 | June 28, 2024, 11:28 a.m. | Votes: 1 | [ VOTE ]

STOP THE ABUSE ON HIVE

FAKE HIVE POLICE

HIVE IS DEAD

HIVE IS ONE BIG FARM

!LOL !WEED !MEME !GIF

>60 votes
slobberchops [-]
gogreenbuddy [-]
cmplxty [-]
shanibeer [-]
antisocialist [-]
azabu [-]
acram64 [-]
mypathtofire [-]
willowranger [-]
bscrypto [-]
dhedge [-]
aaronkroeblinger [-]
lichtkunstfoto [-]
memehub [-]
chekohler [-]
modernzorker [-]
carn [-]
earthsea [-]
pinkhub [-]
kaylinart [-]
and 40 more

https://hive.blog/hive-104387/@bpcvoter3/se19g2

Downvoted BY HIVE FARMERS

>slobberchops (81)in #life • 6 days ago
The_commentphant.jpg

6 days ago in #life by slobberchops (81)$0.00
Reply 3
Sort: Trending
[-]bpcvoter2 (-5)(1) 4 days ago · Will be hidden due to low rating
NO DOWNVOTES FOR MARKY MARK'S SELF VOTING !WEED

https://hive.blog/life/@slobberchops/re-gogreenbuddy-sdr1wb

https://www.publish0x.com/the-dark-side-of-hive

https://www.reddit.com/r/stoptheabuseonhive/

https://peakd.com/hive-164833/@bilpcoinbpc/you-have-all-witnessed-this-account-being-downvoted-to-a-negative-reputation-for-no-reason

SHAME ON YOU ALL SAD PEOPLE WHO SCAM LIE AND FARM HIVE AND HIVERS

from Imgflip Meme Generator

from Imgflip Meme Generator

>
[-]acidyo (82) 3 months ago
Haha at "I shouldn't make commercial" :D Maybe something to worry about when you have more youtube subscribers! Quite interesting content though, these things should get more subs on there and here.

$4.28
1 vote
Reply
[-]gogreenbuddy (67) 3 months ago
Yeah thought that was funny too

$4.54
4 votes
gogreenbuddy: $4.47
acidyo: $0.06
holbein81: $0.01
koleso: -$0.00

https://hive.blog/life/@gogreenbuddy/i-had-to-give-up-on-my-gabion-fencing-too-much-work

@themarkymark @buildawhale @upmyvote @ipromote @gogreenbuddy @usainvote @punkteam @makerhacks @apeminingclub @leovoter @blockheadgamds @rollingbones farm @cwow2 @solominer @steevc @adm @abit @theycallmedan @dalz @abh12345

HE MAKES CURATION REWARDS WITH ALL HIS ALT ACCOUNTS BURNING TOKENS LIKE THIS DOES NOT TAKE OLD TOKENS IT MINTS NEW ONES AND BURNS THEM

https://hive.blog/hive-167922/@bilpcoinbpc/the-power

https://www.bilpcoin.com/hive-167922/@bilpcoinbpc/the-power

https://www.bilpcoin.com/hive-167922/@bpcvoter1/response-4-to-themarkymark-marcus-buildawhale-usainvote-ipomote-leovoter-gogreenbuddy-and-over-100-of-his-alt-accounts

Reply 2 to @eddiespino

Reply to @eddiespino

cwow stop the drink and drugs

Stop supporting the fake Hive police who do nothing but exploit Hive

Many people on Hive will never get to spend any of their Hive as it may become illegal in certain countries

from Imgflip Meme Generator

from Imgflip Meme Generator

from Imgflip Meme Generator

>Looking at Hive from the outside, it looks like trash let just be honest there are issues. Not many people would be interested in coming to Hive to read blogs let's be honest

@ubaidkhan | June 28, 2024, 3:36 p.m. | Votes: 0 | [ VOTE ]

Nice❤️ effort @disregardfiat. A meaningful post. I recommend to continue your effort.

@hivebuzz | July 1, 2024, 12:12 a.m. | Votes: 0 | [ VOTE ]

Congratulations @disregardfiat! You received a personal badge!

https://images.hive.blog/70x70/https://hivebuzz.me/badges/pud.png?202407010003You powered-up at least 10 HIVE on Hive Power Up Day!Wait until the end of Power Up Day to find out the size of your Power-Bee.May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Check out our last posts:

Be ready for the July edition of the Hive Power Up Month!Hive Power Up Day - July 1st 2024

@hivebuzz | July 2, 2024, 12:10 a.m. | Votes: 0 | [ VOTE ]

Congratulations @disregardfiat! You received a personal badge!

https://images.hive.blog/70x70/https://hivebuzz.me/badges/pud.s5.png?202407020002You powered-up at least 1000 HP on Hive Power Up Day and got the biggest Power-Bee!See you at the next Power Up day to see if you will repeat this feat.May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Check out our last posts:

Hive Power Up Month Challenge - June 2024 Winners ListBe ready for the July edition of the Hive Power Up Month!Hive Power Up Day - July 1st 2024

@vaipraonde | July 26, 2024, 4:05 a.m. | Votes: 0 | [ VOTE ]

That's the man

@douglas.life | Aug. 14, 2024, 1:14 p.m. | Votes: 0 | [ VOTE ]

Keep up the good work. 👏

Recognized by Mystic artist Gudasol

You are loved.

Interested to to help music map cXc.world spread more good vibes on Hive?.

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>