当前位置: 首页 > 软件库 > Web3 > 区块链 >

go-cyber

Your 🔵 Superintelligence
授权协议 View license
开发语言
所属分类 Web3、 区块链
软件类型 开源软件
地区 不详
投 递 者 赫连棋
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Cyber - SuperIntelligence for The Great Web

Start to use right now - cyb.ai

Onboarding point for cyber validators and Setup validator guide

#fuckgoogle and cyber~Russian communities

Network monitor

go-cyber is golang implementation of cyber protocol


Code

Blockchain


Networks

Network Cosmos Hub Launch Security Token Resources Token Bandwidth Token Power Token Supported Tokens
Bostrom �� Bootloader Hub 2021 BOOT HYDROGEN VOLT AMPER [ICS20, CW20, CW721, CW1155]
Cyber �� Cyber Hub 2022 CYB HYDROGEN VOLT AMPER [ICS20, CW20, CW721, CW1155]

Computer Specification ��

  1. Universe - Cosmos
  2. Consensus - Tendermint | BOOT
  3. Dyson Sphere - Snub Dodecahedron configuration
  4. External Communication - IBC
  5. Liquidity - InterChain AMM with MEV protection
  6. Governance - Ideas, Upgrades, Parameters, Fund | BOOT
  7. Resources Mining - Liquid Staking | stake BOOT -> mint HYDROGEN
  8. Resources Creation - Investmint | lock HYDROGEN -> mint VOLT / AMPERE
  9. Brain - Knowledge Graph
  10. Particles addressing - IPFS CIDv0
  11. Particles connecting - cyberlinks
  12. Cyberlinking - Bandwidth model | VOLT
  13. Graph Program - Token Weighted Page Rank | AMPERE
  14. Graph Program - Token Weighted Graph -Entropy | AMPERE
  15. Graph Processing - GPU (CUDA)
  16. Energy Grid - Energy Router | VOLT & AMPER
  17. Virtual Machine - CosmWasm | BOOT
  18. Programs Bus - Interconnect Line
  19. Autonomous Programs - Default Mode Network & Thoughts | BOOT
  20. Programs Income - execution fees | BOOT
  21. API - Graph and Computer
  22. Client Library - cyber-js & cyber-py
  23. Indexer - cyberindex
  24. Launch documentation - launch-kit
  25. Versioning - Kelvin
  26. License - Cyber License
  27. Future Graph VM support - GraphBLAS R&D
  28. Future IK protocol support - InterKnowledge protocol R&D

Try cyb.ai on bostrom-testnet-5 network


ELI-5

ELI-5


Setup

Chain-ID: bostrom-testnet-5

Genesis: QmPtHR1ee3s4PsSqHqpfQv68raHgk2W4XV9uvnUgnLkMSP

Build: make install

Run: cyber start

To use as CLI with remote node just set CUDA_ENABLED=false in Makefile and build
  • Version - v0.2.0-RC1
  • RPC: https://rpc.bostromdev.cybernode.ai/
  • REST: https://lcd.bostromdev.cybernode.ai/rank/parameters
  • CLI: ... --node=https://rpc.bostromdev.cybernode.ai:443
  • Faucet: curl --header "Content-Type: application/json" --request POST --data '{"denom":"boot","address":"bostrom1sm9sq4wnn62tk5yz0x3fvvx2ea9efguqwvdu64"}' http://titan.cybernode.ai:8000/credit
  • Seed: d0518ce9881a4b0c5872e5e9b7c4ea8d760dad3f@85.10.207.173:26656
  • Peers: 5d542c0eb40ae48dc2cac0c140aedb605ded77dc@195.201.105.229:26656,a7226dce9f543a4ecd8db1da2ffd7be05d40d3ad@185.186.208.36:26656,c72de1e20beed51b779d89b1cf08d8146016eec4@185.186.208.37:26656,4c130ed1c58f6d6be981c59a748511e581969c51@93.180.175.201:36656

For better network stability please update your .cyber/config/config.toml lines as following:

addr_book_strict = false

persistent_peers_max_dial_period = "300s"

allow_duplicate_ip = true

How to update from bostrom-testnet-4 to bostrom-testnet-5

If you have your bostrom-testnet-4 node running on our docker container do:

docker stop bostrom-testnet-4
docker rm bostrom-testnet-4
docker rmi cyberd/cyber:bostrom-testnet-4.2
docker run -d --gpus all --name=bostrom-testnet-5 --restart always -p 26656:26656 -p 26657:26657 -p 1317:1317 -e ALLOW_SEARCH=false -v $HOME/.cyber:/root/.cyber  cyberd/cyber:bostrom-testnet-5.1

This will pull new image and replace genesis and cyber binary to correct versions.

Than you'll have to send create-validator transaction.


IBC

Config for Relayer

{"key":"agent","chain-id":"bostrom-testnet-5","rpc-addr":"https://rpc.bostromdev.cybernode.ai:443","account-prefix":"bostrom","gas-adjustment":1.5,"gas-prices":"0.01boot","trusting-period":"72h"}

Basic operations

Follow hero and get HYDROGEN:

cyber tx staking delegate bostromvaloper1hmkqhy8ygl6tnl5g8tc503rwrmmrkjcqf92r73 100000000boot --from <name> --chain-id bostrom-testnet-5 --gas 150000 --gas-prices 0.01boot --yes --node https://rpc.bostromdev.cybernode.ai:443   

Investmint HYDROGEN to get resources:

cyber tx resources investmint 75000000hydrogen millivolt 86400 --from <name> --chain-id bostrom-testnet-5--gas 160000 --gas-prices 0.01boot --yes --node https://rpc.bostromdev.cybernode.ai:443

cyber tx resources investmint 25000000hydrogen milliampere 86400 --from <name> --chain-id bostrom-testnet-5 --gas 160000 --gas-prices 0.01boot --yes --node https://rpc.bostromdev.cybernode.ai:443

Cyberlink and Explore:

cyber tx graph cyberlink QmdVWtX17m7UvF8FcvNLTJxcpxv2fSJd7Z3VBoYxxW9Qpu Qmb9xPYYwHt1F3bQysKCZzXRzAT8QLvAyMe5DyPy4rene8 --from <name> --chain-id bostrom-testnet-5 --yes --node https://rpc.bostromdev.cybernode.ai:443

curl https://lcd.bostromdev.cybernode.ai/rank/search?cid=QmdVWtX17m7UvF8FcvNLTJxcpxv2fSJd7Z3VBoYxxW9Qpu

Connect:


Cyber vs Corps

What Google Cyber
Is Company Protocol
Protocol Stack Web2 Web3
Code Closed Open
Consensus USA law Tendermint, Hybrid (2023)
Knowledge Private Public
Links Hyperlinks Cyberlinks
Backlinks No Yes
Decentralized Marketing (DeMa) No Yes
Beneficiaries Limited set of stakeholders Any web3 agent
Addressing URLs CIDs
Ranking Blackbox Sybil resistant
Knowledge Graph Proofs No Cyberlinks and Ranks
Offline and Interplanetary No Yes
Internet Knowledge Protocol No Over IBC (2022)
Smart Contracts Impossible WASM
Smart Contracts on Knowledge Graph No Yes
GPU Smart Contracts No GraphBLAS (2023)
Software 2.0 No Yes
Security No evidence Cryptographic proofs
Privacy Impossible Possible (2025)
Censorship Yes No
Captcha Yes No
Ads beneficiary Google Creator
Apps Limited Unlimited
Robots/IoT Limited Unlimited
Data Distribution Private servers IPFS
Storage guaranty Impossible PoRep (2024)
SuperIntelligence Non-Provalbe Provable
Browser Chrome Cyb

Cyber vs Govs

What Your Gov Cyber
Borders Yes No
Customs Yes No
Army Yes No
Police Yes No
Laws Paper Code
Contracts Paper Code
Censorship Yes No
Children Their Yours
Taxes Compulsory Voluntary
Tax reporting Manual Automated
Transaction tax 50% ~0.1%
Printing tax 100% ~1%
Provable voting No Yes
Consensus Democracy Tendermint
Currency Enforced Any
Security Police & Army Cryptography
Decision makers They Us
Privacy No Respect
Brainwashing Yes No
Antropocentrism Yes No

  • 在这里就不贴源代码,太占空间了,源码连接:https://github.com/ApolloAuto/apollo/tree/master/cyber/task cyber下面的task包是使用cyber协程的入口包,共有5个文件如下: BUILD文件:构建文件 task_manager.h文件:任务管理头文件 task_manager.cc文件:任务管理主文件 task_test.cc文件:任务

  • 1. Preparation 申请openAI的Key 2. chatGPT in golang package main import ( "bytes" "encoding/json" "errors" "fmt" "io/ioutil" //"log" "net/http" "os" "bufio" "time" ) const BASEURL = "https://

  • Amid a growing call for new cybersecurity protections in the United States, the US government has issued a report that reconfirms Washington’s interest in shutting down WikiLeaks and other underground

  • Recommended ICS Cybersecurity Books Rise of the Machines: A Cybernetic History It seems a bit odd to put a non-technical book as my first recommendation but I assure you it is with reason. Dr. Thomas

 相关资料
  • Go!

    Go! 是一个 PHP 5.4 库,让 PHP 支持 AOP 面向方面编程方法,无需 PECL 扩展、Runkit、evals 或者 DI 容器支持。可使用 XDebug 轻松调试。 示例代码: // Aspect/MonitorAspect.phpnamespace Aspect;use Go\Aop\Aspect;use Go\Aop\Intercept\FieldAccess;use Go\

  • 命令go vet是一个用于检查Go语言源码中静态错误的简单工具。与大多数Go命令一样,go vet命令可以接受-n标记和-x标记。-n标记用于只打印流程中执行的命令而不真正执行它们。-n标记也用于打印流程中执行的命令,但不会取消这些命令的执行。示例如下: hc@ubt:~$ go vet -n pkgtool /usr/local/go/pkg/tool/linux_386/vet golang/

  • 命令go fix会把指定代码包的所有Go语言源码文件中的旧版本代码修正为新版本的代码。这里所说的版本即Go语言的版本。代码包的所有Go语言源码文件不包括其子代码包(如果有的话)中的文件。修正操作包括把对旧程序调用的代码更换为对新程序调用的代码、把旧的语法更换为新的语法,等等。 这个工具其实非常有用。在编程语言的升级和演进的过程中,难免会对过时的和不够优秀的语法及标准库进行改进。这样的改进对于编程语

  • Pact Go的版本目前支持Pact v2规范,访问网站开始学习。 Go-Kit例子 Pact Go代码库中有一个详细的Go Kit 例子,介绍如何使用Pact去测试Go Kit微服务。 原生Go实现 还有一个Go版本的Pact(兼容pact v1.1),不需要运行一个守护进程。如果你不需要v2+的匹配以及运行守护进程,可以考虑使用或者为Pact Go贡献。

  • Panic表示的意思就是有些意想不到的错误发生了。通常我们用来表示程序正常运行过程中不应该出现的,或者我们没有处理好的错误。 package main import "os" func main() { // 我们使用panic来检查预期不到的错误 panic("a problem") // Panic的通常使用方法就是如果一个函数 // 返回一个我们不知道怎么处理

  • 使用os.Exit可以给定一个状态,然后立刻退出程序运行。 package main import "fmt" import "os" func main() { // 当使用`os.Exit`的时候defer操作不会被运行, // 所以这里的``fmt.Println`将不会被调用 defer fmt.Println("!") // 退出程序并设置退出状态值

  • Defer 用来保证一个函数调用会在程序执行的最后被调用。通常用于资源清理工作。 package main import "fmt" import "os" // 假设我们想创建一个文件,然后写入数据,最后关闭文件 func main() { // 在使用createFile得到一个文件对象之后,我们使用defer // 来调用关闭文件的方法closeFile,这个方法将在main

  • 11.1. go test go test命令是一个按照一定的约定和组织来测试代码的程序。在包目录内,所有以_test.go为后缀名的源文件在执行go build时不会被构建成包的一部分,它们是go test测试的一部分。 在*_test.go文件中,有三种类型的函数:测试函数、基准测试(benchmark)函数、示例函数。一个测试函数是以Test为函数名前缀的函数,用于测试程序的一些逻辑行为是否