{"id":13567175,"url":"https://github.com/BccNodes/okp4-nemeton-testnet","last_synced_at":"2025-04-04T01:31:09.026Z","repository":{"id":179875051,"uuid":"553122304","full_name":"BccNodes/okp4-nemeton-testnet","owner":"BccNodes","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-21T09:16:08.000Z","size":47,"stargazers_count":6,"open_issues_count":0,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-04T21:37:25.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BccNodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-17T18:48:47.000Z","updated_at":"2024-07-28T20:03:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"08319474-a5a4-46a6-9925-42dbbeab5449","html_url":"https://github.com/BccNodes/okp4-nemeton-testnet","commit_stats":null,"previous_names":["bccnodes/okp4-nemeton-testnet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BccNodes%2Fokp4-nemeton-testnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BccNodes%2Fokp4-nemeton-testnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BccNodes%2Fokp4-nemeton-testnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BccNodes%2Fokp4-nemeton-testnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BccNodes","download_url":"https://codeload.github.com/BccNodes/okp4-nemeton-testnet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247107816,"owners_count":20884793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:02:25.356Z","updated_at":"2025-04-04T01:31:06.548Z","avatar_url":"https://github.com/BccNodes.png","language":null,"funding_links":[],"categories":["Misc"],"sub_categories":[],"readme":"\u003ctable width=\"900px\" align=\"center\"\u003e\n    \u003ctbody\u003e\n        \u003ctr valign=\"top\"\u003e\n            \u003ctd width=\"300px\" align=\"center\"\u003e\n            \u003cspan\u003e\u003cstrong\u003eTwitter\u003c/strong\u003e\u003c/span\u003e\u003cbr\u003e\u003cbr /\u003e\n            \u003ca href=\"https://twitter.com/bccnodes\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n            \u003cimg height=\"70px\" src=\"https://github.com/berkcaNode/berkcaNode/blob/main/twitter.png\"\u003e\n            \u003c/td\u003e\n            \u003ctd width=\"300px\" align=\"center\"\u003e\n            \u003cspan\u003e\u003cstrong\u003eWebsite\u003c/strong\u003e\u003c/span\u003e\u003cbr\u003e\u003cbr /\u003e\n            \u003ca href=\"https://bccnodes.com/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n            \u003cimg height=\"70px\" src=\"https://github.com/berkcaNode/berkcaNode/blob/main/web.png\"\u003e\n            \u003c/td\u003e\n            \u003ctd width=\"300px\" align=\"center\"\u003e\n            \u003cspan\u003e\u003cstrong\u003eBccNodes Explorer\u003c/strong\u003e\u003c/span\u003e\u003cbr\u003e\u003cbr /\u003e\n            \u003ca href=\"https://explorer.bccnodes.com/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n            \u003cimg height=\"70px\" src=\"https://github.com/berkcaNode/berkcaNode/blob/main/exp%20(1).png\"\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n\n# OKP4 Manuel node kurulumu\n\n\u003cp align=\"center\"\u003e\n  \u003cimg height=\"220\" height=\"auto\" src=\"okp4.png\"\u003e\n\u003c/p\u003e\n\nOrijinal Döküman:\n\u003e- [Doğrulayıcı kurulum talimatları](https://docs.okp4.network/docs/nodes/installation)\n\nExplorer:\n\u003e- https://explorer.bccnodes.com/okp4\n\n\n## Gerekli güncellemeleri ve araçları kurunuz\n```\nsudo apt update \u0026\u0026 sudo apt upgrade -y\n```\n```\nsudo apt install curl build-essential git wget jq make gcc tmux chrony -y\n```\n## Go yükleyin (tek komut)\n```\nif ! [ -x \"$(command -v go)\" ]; then\n  ver=\"1.18.2\"\n  cd $HOME\n  wget \"https://golang.org/dl/go$ver.linux-amd64.tar.gz\"\n  sudo rm -rf /usr/local/go\n  sudo tar -C /usr/local -xzf \"go$ver.linux-amd64.tar.gz\"\n  rm \"go$ver.linux-amd64.tar.gz\"\n  echo \"export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin\" \u003e\u003e ~/.bash_profile\n  source ~/.bash_profile\nfi\n```\n## Moniker ismimizi atayalım\n```\nNODENAME=\u003cMONIKER_ISMINIZI_GİRİN\u003e\n```\n\n## Github reposunun bir kopyasını oluşturun ve kurun\n```\ncd $HOME\ngit clone https://github.com/okp4/okp4d.git\ncd okp4d\nmake install\n```\n\n## Versiyonu kontrol edelim; v2.2.0 olmalı\n```\nokp4d version\n```\n\n## Nodeu çalıştırmaya hazırlanalım\n```\nokp4d config chain-id okp4-nemeton\nokp4d config keyring-backend file\nokp4d config node tcp://localhost:26657\nokp4d init $NODENAME --chain-id okp4-nemeton\n\n```\nCüzdan oluşturalım veya var olan cüzdanı geri getirelim\n\n```okp4d keys add CÜZDANİSMİ```             #Yeni oluşturmak için\n\n``` okp4d keys add CÜZDANİSMİ --recover ``` #Cüzdan kelimlerinizi kullanarak geri getirmek için\n\n\n\n## Genesis ve addrbook yükleyelim\n```\nwget -qO $HOME/.okp4d/config/genesis.json \"https://raw.githubusercontent.com/okp4/networks/main/chains/nemeton/genesis.json\"\n```\n\n## Peers ayarlayalım\n```\nPEERS=f595a1386d5ca2e0d2cd81d3c6372c3bf84bbd16@65.109.31.114:2280,a49302f8999e5a953ebae431c4dde93479e17155@162.19.71.91:26656,dc14197ed45e84ca3afb5428eb04ea3097894d69@88.99.143.105:26656,79d179ea2e1fbdcc0c59a95ab7f1a0c48438a693@65.108.106.131:26706,501ad80236a5ac0d37aafa934c6ec69554ce7205@89.149.218.20:26656,5fbddca54548bf125ee96bb388610fe1206f087f@51.159.66.123:26656,769f74d3bb149216d0ab771d7767bd39585bc027@185.196.21.99:26656,024a57c0bb6d868186b6f627773bf427ec441ab5@65.108.2.41:36656,fff0a8c202befd9459ff93783a0e7756da305fe3@38.242.150.63:16656,2bfd405e8f0f176428e2127f98b5ec53164ae1f0@142.132.149.118:26656,bf5802cfd8688e84ac9a8358a090e99b5b769047@135.181.176.109:53656,dc9a10f2589dd9cb37918ba561e6280a3ba81b76@54.244.24.231:26656,085cf43f463fe477e6198da0108b0ab08c70c8ab@65.108.75.237:6040,803422dc38606dd62017d433e4cbbd65edd6089d@51.15.143.254:26656,b8330b2cb0b6d6d8751341753386afce9472bac7@89.163.208.12:26656\n\nsed -i.bak -e \"s/^persistent_peers *=.*/persistent_peers = \\\"$PEERS\\\"/\" $HOME/.okp4d/config/config.toml\n```\n\n## Pruning Yapılandıralım\n```\npruning=\"custom\"\npruning_keep_recent=\"100\"\npruning_keep_every=\"0\"\npruning_interval=\"50\"\nsed -i -e \"s/^pruning *=.*/pruning = \\\"$pruning\\\"/\" $HOME/.okp4d/config/app.toml\nsed -i -e \"s/^pruning-keep-recent *=.*/pruning-keep-recent = \\\"$pruning_keep_recent\\\"/\" $HOME/.okp4d/config/app.toml\nsed -i -e \"s/^pruning-keep-every *=.*/pruning-keep-every = \\\"$pruning_keep_every\\\"/\" $HOME/.okp4d/config/app.toml\nsed -i -e \"s/^pruning-interval *=.*/pruning-interval = \\\"$pruning_interval\\\"/\" $HOME/.okp4d/config/app.toml\n```\n\n## Zincir verilerini sıfırlayalım\n```\nokp4d tendermint unsafe-reset-all --home $HOME/.okp4d\n```\n\n\n## Servis Oluşturalım\n```\nsudo tee /etc/systemd/system/okp4d.service \u003e /dev/null \u003c\u003cEOF\n[Unit]\nDescription=okp4d\nAfter=network-online.target\n\n[Service]\nUser=$USER\nExecStart=$(which okp4d) start --home $HOME/.okp4d\nRestart=on-failure\nRestartSec=3\nLimitNOFILE=65535\n\n[Install]\nWantedBy=multi-user.target\nEOF\n```\n\n## Nodeu Başlatalım\n```\nsudo systemctl daemon-reload\nsudo systemctl enable okp4d\nsudo systemctl restart okp4d \u0026\u0026 sudo journalctl -u okp4d -f -o cat\n```\n\nValidator Oluşturalım\n```\nokp4d tx staking create-validator \\\n  --amount 1000000uknow \\\n  --from WALLETNAME \\\n  --commission-max-change-rate \"0.01\" \\\n  --commission-max-rate \"0.2\" \\\n  --commission-rate \"0.05\" \\\n  --min-self-delegation \"1\" \\\n  --pubkey  $(okp4d tendermint show-validator) \\\n  --moniker NODENAME \\\n  --chain-id okp4-nemeton\n```\n\n### İşe yarar komutlar\nLogları kontrol et\n```\njournalctl -fu okp4d -o cat\n```\n\nServisi başlat\n```\nsudo systemctl start okp4d\n```\n\nServisi durdur\n```\nsudo systemctl stop okp4d\n```\n\nServisi yeniden başlat\n```\nsudo systemctl restart okp4d\n```\nDelegate stake\n```\nokp4d tx staking delegate VALOPERADRESİNİZ 10000000uknow --from=CÜZDANİSMİ --chain-id=okp4-nemeton --gas=auto\n```\n\n# BccNodes API \u0026\u0026 RPC \u0026\u0026 STATE-SYNC\n\nEndpoints:\n\u003e- [BccNodes API endpoint](https://okp4.api.bccnodes.com/)\n\n\u003e- [BccNodes RPC endpoint](https://okp4.rpc.bccnodes.com/)\n\n### State Sync\nAşağıdaki komutları çalıştırarak düğümünüzü dakikalar içinde senkronize edebilirsiniz.\n```\nsudo systemctl stop okp4d\nokp4d tendermint unsafe-reset-all --home $HOME/.okp4d --keep-addr-book\n\nSNAP_RPC=\"https://okp4-testnet-rpc.polkachu.com:443\"\n\nLATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \\\nBLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \\\nTRUST_HASH=$(curl -s \"$SNAP_RPC/block?height=$BLOCK_HEIGHT\" | jq -r .result.block_id.hash)\n\necho $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH\n\npeers=\"7da790c663d678cb064ff4fba04556dcf18bda2c@65.109.70.23:17656\"\nsed -i 's|^persistent_peers *=.*|persistent_peers = \"'$peers'\"|' $HOME/.okp4d/config/config.toml\n\nsed -i -E \"s|^(enable[[:space:]]+=[[:space:]]+).*$|\\1true| ; \\\ns|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\\1\\\"$SNAP_RPC,$SNAP_RPC\\\"| ; \\\ns|^(trust_height[[:space:]]+=[[:space:]]+).*$|\\1$BLOCK_HEIGHT| ; \\\ns|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\\1\\\"$TRUST_HASH\\\"|\" $HOME/.okp4d/config/config.toml\n\nsudo systemctl restart okp4d\nsudo journalctl -fu okp4d -o cat\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBccNodes%2Fokp4-nemeton-testnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBccNodes%2Fokp4-nemeton-testnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBccNodes%2Fokp4-nemeton-testnet/lists"}