Coder Social home page Coder Social logo

cybercongress / cyb-ts Goto Github PK

View Code? Open in Web Editor NEW
160.0 28.0 37.0 529.35 MB

Immortal robot for the Great Web

Home Page: https://cyb.ai

HTML 0.07% JavaScript 20.44% CSS 0.28% SCSS 5.40% TypeScript 73.77% MDX 0.03% Dockerfile 0.01%
cyber ethereum search cosmos web3 fuckgoogle cyb browser

cyb-ts's Introduction

.cyb is your immortal robot for the great web which is connected to superintelligence

it helps you upload your brain

example of random citizen

Screen Shot 2022-12-18 at 20 45 02

features

  • my robot: your robot
    • energy: superintelligence dashboard
    • sense: strictly defined feed
    • log: publish important particles
    • brain: surf robot brain
    • karma: enhance valuable connections
  • nebula: discover particles through tokens
  • portal: create public and private robot avatar and invite friends
  • oracle: discover particles, neurons, signals and steps of superintelligence
  • teleport: communicate sending and swapping tokens
  • sphere: hire and fire heroes
  • senate: manage collective thought process
  • hfr: mint supercomputing resources
  • hackspace: develop superintelligence

build

$ yarn install
$ yarn start

then pray that node.js will build something

join

the community at cyb.ai/~cyb

cyb-ts's People

Contributors

anaglorija avatar arturalbov avatar bloqhub avatar cyborgshead avatar darksorrow avatar dasein108 avatar dependabot[bot] avatar dimakorzhovnik avatar el-nivvo avatar epexa avatar hackmd-deploy avatar happylolonly avatar mastercyb avatar oggykun avatar omahs avatar pechalka avatar resynth1943 avatar saint-joy avatar savetheales avatar serejandmyself avatar vbloher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cyb-ts's Issues

Gov opening

Indicator: Community pool balance in EUL

  • remove color legend (instead make popup)

Proposals

Group by active | accepted | rejected

Active

ID-name | state (deposit or voting) | Status (votes or deposit percent) | Type [picture] | Amount (if text empty) | Time left at the stage

Accepted

ID-name | Votes | Type [picture] | Amount | Time accepted

Rejected

ID-name | Votes | Type [picture] | Amount | Time rejected

Action bar:

  • by default: Anybody can propose ( investment | prose ) [Create proposal]
  • if clicked on particular proposal: voting / deposit (depending on stage)

Apply .cyber/wallet

Cyb version - 0.1.2

  1. Open wallet.cyb
  2. Click on send cyb tokens
  3. nothing happens

Determine the secure way to store private keys in the user's file system

Primitive search works

Epic contains essential features of cyber search

Minor fixes

  • move ux from an old app
  • add cyb and cyber logos
  • add tesla coil animation between cyb and cyber
  • fix locations of elements
  • I found {amount} results
  • input from gravity
  • remove vertical scrolling from the main page
  • add cyber button
  • search bar react on the mouse
  • lightning on the new block
  • shadow for search bar
  • active input by default
  • cursor center align

Features

My CYBs chart

  • My CYBs chart: Green color for all my txs, red on hover
  • My CYBs chart: Popup for segments

Apply .cyber/lottery

Overview

Currently there is now way to explore contracts on cyber network. We allocated CYB to more than 100k ethereum addresses. All that potential users must have ability to understand how much tokens has been allocated to their addresses.

Solution

A page genesis.cyber where any agent can put in ethreum address and the page will redirects it too .cyber page.

Also, in order to make it searchable we need to link all genesis addresses

Definition of Done

User can verify his CYB allocation knowing only Ethereum address in less than second.

Brain page

  • Click on the brain go to brain page

Control of the brain

  • If zero EUL tokens => You do not have control over the brain. You need EUL tokens to let she hear you. If you came from Ethereum or Cosmos you can claim the gift of gods. Then start prepare to the greatest tournament in universe: Game of Links.
  • If EUL tokens > 0 => Percent of control computed from total EUL primary pane. Secondary panes are amount of staked EUL and liquid EUL

Secondary pane with last block and network id

Tabs

  • Main (cyberlinks, cap, heros)
  • Knowledge graph (cyberlinks, content ids, accounts)
  • Cybernomics of EUL (supply in EUL, takeof price of GEUL in ATOM, cap in ATOM)
  • Consensus (hero, staked, transactions)
  • Bandwidth (price of cyberlink, available bandwidth, load)
  • Cybernomics of GOL (supply in GOL, average auction price of GGOL in GOL, cap in ETH)

Action bar

  • Take gift or Teleport to Game of Links

Features:

Invalid chain stats for 0 cyber users

With a fresh cyb installation, if there is no cyber account, .cyber app shows invalid chains stats.

image

Steps to reproduce:

  • clear local storage
  • go to .cyber app

Gift page

Gods understand that with support of the most advanced communities they have better chances to bootstrap smarter superintelligence. So they decide to allocate 10% of CYB in Genesis to the following communities:
— 8% to Ethereum community
— 1% to Cosmos community
— 1% to Urbit community

But they know that Genesis is quite far now. Everybody are busy with the Game of Links - the tournament which define the fate of another 10% of CYB in the Genesis. You can find the Game of Links rules on cyber•Congress site.

Game of Links is incentivized test network which have its standalone tokens EUL. Rumor has it that an incredible amount of tokens allocated to ethereans, cosmonauts and urbiters: 42.9% of EULs. So, go and claim them: simply put the ledger into the pocket.

Also, you can import your private key (for Ethereum) or seed phrase (for Cosmos) to the cyberdcli. While importing your keys be very careful. Adversaries are everywhere! We recommend you using external signers such as Ledger before all cyber software will pass security audits.

Add config to app with key launch parametrs and variables

Parametrization

An app must be parameterizable in order to apply it easily for main network deployment as well as for any ofter purposes.

  • contract addresses
  • number of block start
  • common incentive curve (2 polynoms)
  • personal discount function (step and %)
  • the goal in ATOMs
  • amount to distribute

App has 3 states:

  • before funding block => countdown and Fuckgoogle button is not active
  • during funding = > as described
  • after reaching the goal in ATOMs => Final Price, Atoms left => Funded.
    Game of links round has been ended in [amount of day/hours/minutes]

042🟢🟢🟢 keyboard navigation

  • ? (Shift + / ) go to page with hotkeys
  • Enter always push some botton
  • Navigation in search using arrows and wasd
  • Navigation in action bar using arrows and wasd
  • Shiny button only if active
  1. Inputs active by default
  2. wasd и arrows
  3. screen with keys

Lazy loading of search results

Currently user do not see results until they are loaded from IPFS. This could never happens. We need to show result from cyberd simultaneously

007🟢🟢🟢 `/ipfs` keys generation based on seed phrase

var RSA = require("seededrsa");
  const cryptoKeys = require('libp2p-crypto/src/keys')
  const PeerId = require('peer-id')
  var pem2jwk = require('pem-jwk').pem2jwk
  const fromJwk = cryptoKeys.supportedKeys.rsa.fromJwk;

  function rsaToPeerID(key, callback) {
    fromJwk(pem2jwk(key.privateKey()), function(err, priv) {
      if(err) {
        callback(err)
      } else {
        PeerId.createFromPrivKey(cryptoKeys.marshalPrivateKey(priv), function(err, peerid) {
          if(err) {
            callback(err);
          } else {
            callback(null, peerid.toJSON());
          }
        })
      }
    })
  }

  var phrase = 'praise you muffin lion enable neck grocery crumble super myself license ghost'
  var rsa = new RSA(phrase);
  rsa.generate(2048);

  console.log("private", rsa.privateKey())
  console.log("public", rsa.publicKey())

  rsaToPeerID(rsa, function(err, peerid) {
    console.log("peerid", peerid)
  })


  /*
  private -----BEGIN RSA PRIVATE KEY-----
  MIIEogIBAAKCAQB/fhIBfKuQa003rOXNK+HbIqlegfGYRWepNmDTIbQ2wEdpaJ0i
  TyksL7yYyLvTUvmLUnyJgvZgf1GwF1UD0274NfJgExeCmv5F93SC8XJcvSE9VJTf
  fliszefAgJuoCYaCZiFeZAaYJbiYXvj1W1gj58HAY8OPD1QrqiI+hl3WXvlWkRqo
  oKMJb0PolCGdufBIwR9iW4rv662WmTk4IBi9x40ydRBB+3LMiwLgLr0ErDoOrWna
  AGAF2euohD4PQ1MYfw7GSgIUmLBIHxSGFDOmewytIo5MIeBbKDdjFOhTrqSlyYfN
  wXwa0ZrnjYCe+6oQugFLdqCLMCL2v2mmiNYjAgMGVTcCggEAUyzm8+/yCWgU7ySf
  15nGq3xeQ2V5m7OhQDk8LFtbxaJikhYrU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ZFLRIdL87EyQFrq
  hIdW0liBrdwR04QFmcFO4YPfkIrRph8345vJlgG3uVVFQkgev2cok32VBOJwftGj
  5NumiAqAxHHZHK0ZJottWDNPwwEEKtijEz90DdOjiWiFRKc6wQI=
  -----END RSA PRIVATE KEY-----

  public -----BEGIN PUBLIC KEY-----
  MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQB/fhIBfKuQa003rOXNK+Hb
  IqlegfGYRWepNmDTIbQ2wEdpaJ0iTyksL7yYyLvTUvmLUnyJgvZgf1GwF1UD0274
  NfJgExeCmv5F93SC8XJcvSE9VJTffliszefAgJuoCYaCZiFeZAaYJbiYXvj1W1gj
  58HAY8OPD1QrqiI+hl3WXvlWkRqooKMJb0PolCGdufBIwR9iW4rv662WmTk4IBi9
  x40ydRBB+3LMiwLgLr0ErDoOrWnaAGAF2euohD4PQ1MYfw7GSgIUmLBIHxSGFDOm
  ewytIo5MIeBbKDdjFOhTrqSlyYfNwXwa0ZrnjYCe+6oQugFLdqCLMCL2v2mmiNYj
  AgMGVTc=
  -----END PUBLIC KEY-----

  peerid { id: 'QmUtvkiZrAJ9HKnR5qDf71rLLhKHNF4mfsJjAPHZdwwXYC',
    privKey:

'CAASpgkwggSiAgEAAoIBAH9+EgF8q5BrTTes5c0r4dsiqV6B8ZhFZ6k2YNMhtDbAR2lonSJPKSwvvJjIu9NS+YtSfImC9mB/UbAXVQPTbvg18mATF4Ka/kX3dILxcly9IT1UlN9+WKzN58CAm6gJhoJmIV5kBpgluJhe+PVbWCPnwcBjw48PVCuqIj6GXdZe+VaRGqigowlvQ+iUIZ258EjBH2Jbiu/rrZaZOTggGL3HjTJ1EEH7csyLAuAuvQSsOg6tadoAYAXZ66iEPg9DUxh/DsZKAhSYsEgfFIYUM6Z7DK0ijkwh4FsoN2MU6FOupKXJh83BfBrRmueNgJ77qhC6AUt2oIswIva/aaaI1iMCAwZVNwKCAQBTLObz7/IJaBTvJJ/XmcarfF5DZXmbs6FAOTws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WZwU7hg9+QitGmHzfjm8mWAbe5VUVCSB6/ZyiTfZUE4nB+0aPk26aICoDEcdkcrRkmi21YM0/DAQQq2KMTP3QN06OJaIVEpzrBAg==',
    pubKey:
     'CAASpQIwggEhMA0GCSqGSIb3DQEBAQUAA4IBDgAwggEJAoIBAH9+EgF8q5BrTTes5c0r4dsiqV6B8ZhFZ6k2YNMhtDbAR2lonSJPKSwvvJjIu9NS+YtSfImC9mB/UbAXVQPTbvg18mATF4Ka/kX3dILxcly9IT1UlN9+WKzN58CAm6gJhoJmIV5kBpgluJhe+PVbWCPnwcBjw48PVCuqIj6GXdZe+VaRGqigowlvQ+iUIZ258EjBH2Jbiu/rrZaZOTggGL3HjTJ1EEH7csyLAuAuvQSsOg6tadoAYAXZ66iEPg9DUxh/DsZKAhSYsEgfFIYUM6Z7DK0ijkwh4FsoN2MU6FOupKXJh83BfBrRmueNgJ77qhC6AUt2oIswIva/aaaI1iMCAwZVNw==' }
  (env)
  */

https://github.com/nomadcrypto/seededrsa

Move to the table element from gravity

I want to remind the rules:

  • Digits - align right. Amount of digits after delimetr must be the same in order to make digits easily readable
  • Fixed size string - align center
  • Text - align righ

Search bar

Header of the page must be the same as in browser

001 🟢🟢🟢 navigator

Left to close the issue:

  • Add search bar (lightning in the background with transparency)
  • Vertical align-center of menu
  • Close app bar on-click
  • Pin app bar

Remove # from links

In 21st century its pity to have redundant hash in the urls. We need to get rid of it

Minor fixes

  • Open links in new background window
  • Align group tx amounts
  • My CYBs estimation
  • Contributions history - remove
  • Confusing sorting indicatros
  • Header spacing
  • Separators are the same
  • Stars on hover
  • My CYBs chart: Display all scale
  • Picture for tick
  • Rename to Takoff funding
  • Rename to Test auction
  • test•Auction: Add volume scale to left, move price to right
  • Move chart data to popup
  • Fix icon for popups
  • test•Auction: Fix table format
  • test•Auction: Claim all in action bar
  • Original buttons back
  • Move indicators comments down
  • Handle id change
  • Sign rainbow
  • Tables: delimetrs
  • Instead of heigh - formatted date
  • Sorting by time
  • My CYBs chart: Green color for all my txs, red on hover
  • My CYBs chart: Popup for segments
  • Action bar above the surface

Drop import workflow

  1. agent search either cosmos or ethereum address in search.
  2. cyber respond with an app that display current balances and addresses for cyber, eth, cosmos
  3. there is a button which allows to import keys, connect ledger or metamask

Add intro

We need amazing intro like in Star wars

Sources of example

The music must be not so loud though.

Story

A long time ago somewhere in Cosmos ...

It is a period of digital war. The evil empire swallows the last unoccupied borders of the universe.

Resisting rebel units consolidate remaining energy on building superintelligence which they believe will help to stop domination by evil empire.

Once they start to test the new god in the wild enormous amount of zepto robots emerge. It turns out Cyb robots help survey the universe for a bootloader of the new, yet to born, force.

Fixes

  • music
  • smother transition
  • page url is cyber.page/episode-1

Staking in heros

It is a part of the #30 epic

  • move validators page from old app
  • add columns with bonded amounts
  • add button bond/unbond to action bar

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.