Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

App repository #56

Closed
hivewallet opened this issue Oct 11, 2013 · 2 comments
Closed

App repository #56

hivewallet opened this issue Oct 11, 2013 · 2 comments
Assignees

Comments

@hivewallet
Copy link
Collaborator

Initial ideas:

  • Git-based (anyone can run a repo)
  • Contains only .manifest files (homebrew-like approach) and app icon; Hive fetches actual app from sources in manifests
  • App manifests are probably changed+extended a bit:

{
"name": "SatoshiDice",
"id": "satoshidice",
"type": "app", ("app", "exchange", etc -- if we end up having different types with different interfaces?)
"version": "0.1", (is this enough or should it be a timestamp? how does apple do it?)
"contact": "user@address.com",
"description": "Satoshi Dice Hive client",
"categories": "gambling", "game",
"charity": "no", (if yes, no fees -- possibly redundant? see below)
"icon": "icon.png",
"package_url": "http://github.com/satoshidice/releases/sd203433.hiveapp",
"package_md5": "953a854fc67cb358f5359741a8243c58", (is MD5 the best to use for least likely collisions?)
"currencies": "btc", "bt3", "ltc", "xrp",
"transaction_fee": "0.5" (always BTC, never mBTC etc)
"transaction_fee_address": "1NS17iag9jJgTHD1VXjvLCEnZuQ3rJEDGL", (address where transaction fees will go, this overwrites app repository payment address for this app, if allowed by the repo manifest)
"tor": "yes" (yes/no),
}

  • And repository manifests are introduced:

{
"name": "Hive Official",
"description": "The official Hive repository",
"icon": "icon.png",
"repo_url": "http://github.com/grabhive/app_repo.git",
"transaction_fee": "0.5" (always BTC, never mBTC etc)
"transaction_fee_address": "1NS17iag9jJgTHD1VXjvLCEnZuQ3rJEDGL", (if listed here and NOT in a given app manifest, this is default)
"allow_transaction_fee_overwrite": "no", (allow apps to set their own transaction fees/t.f. payout addresses)
"no_fees_for_charity": "true", (if false, then charity: "yes" in app manifest has no effect)
"tor": "yes" (not sure why a repo would mind if we used tor or not, but this flag at least will let clients know)
"order_customization": "customized.order" (some file that allows defining things like highlighted apps, priority-listed apps, etc -- need scoping out)
}

cc @bazyli @jsuder @darekw

@weilu
Copy link
Member

weilu commented Feb 12, 2014

First versions of App Registry and App Store are built. Currently it does not require any changes to the manifest.json file. The only dependency is git.

I'm planning on closing this ticket as soon as the App Store app is bundled with the next release of hive-osx. Future app store/registry related issues other than installApp API should be filed under the two repos respectively.

@weilu
Copy link
Member

weilu commented Feb 19, 2014

🎆

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants