Giter VIP home page Giter VIP logo

leaderboard-website's Introduction

Skynet Labs Website

Code behind skynetlabs.com

Deployed to Skynet: 0409g27kkp4cfpj66e52qvhjk60sej6ia1dmemim0pr3qej404gmai0 (preview)

leaderboard-website's People

Contributors

dghelm avatar kwypchlo avatar msevey avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

leaderboard-website's Issues

Skynet Leaderboard - Developer FAQ

How can I get my App on the leaderboard?

Your app will need to use MySky (from skynet-js) and either the Content Record DAC or the Feed DAC.

Additionally, your app will need to be hosted at an HNS name (and not localhost), and meet some minimal requirements for "valid leaderboard entry".

What's a "Valid Leaderboard Entry"?

For an entry to show up, it needs to be formatted correctly when written to the Content Record or Feed DACs. With CR, this means it has a skylink field with a valid skylink (ideally like sia://MAA5RDVPiY4v6c2tUBhGSujTB_ZcI4XD8e_tXhyZlwKD2A .

How can I use profile information in my app?

You'll want to use the (Profile DAC)[https://github.com/skynethubio/userprofile-library]. If you only need to read profiles, you do not need to pass this DAC to mySky.loadDacs(), you can just call it with a UserID to grab data like usernames and avatars.

Why aren't my entries showing up on the leaderboard?

  1. You may need to wait for the scraper to find and process the entry.
  2. You may not be using your site from an HNS name.
  3. You may not have a "valid leaderboard entry"
  4. You may be using an outdated DAC library. Be sure to update.

How can I link to content as it appears in my app, not the content's direct Skylink?

If using the Content Record DAC, follow this documentation for adding a link.

If using the Feed DAC, it follows the SkyStandards formatting for a Post. You will want to use the {content: {link: 'sia://...'}} option to provide a link.

Currently, we accept links formatted like this:
sia://skychess.hns/#/watch/9645e0ec691ad1be56adc8aa2e406223787e2e879ae23184a908028732012976

Using this protocol and "domain" format, we're able to easily parse this URL in a portal-independent way.

On siasky.net, this would link to https://skychess.hns.siasky.net/#/watch/9645e0ec691ad1be56adc8aa2e406223787e2e879ae23184a908028732012976

Are there any debug tools for looking into DAC data?

Yes. A very rudimentary tool is available for making sure your app is writing to the Content Record. Also, Rift has a "Data" tab that lets you easily explore the data of various users for various DACs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.