Code Monkey home page Code Monkey logo

go-noss's Introduction

  1. 将.env.example改为.env
  2. 在.env里配置公私钥。NPUB/NSEC的获取可以使用OKX钱包的nostr链获取地址/导出私钥获取,暂时不知道如何从TP钱包获取NPUB/NSEC。注意npub... nsec..开头的需要转换一下才能使用,可以去https://nostrcheck.me/converter/ 转换
  3. 使用golang编译脚本,或者使用release中编译好的版本
  4. 运行
  5. 再加一句话:判断你是否成功运行脚本:1. 成功运行没闪退 2. 在蹦字 3. 返回值Response显示是200 4. Publish to后面有id,并且id前5位为0

FAQ

  1. 我运行时闪退了:ARB节点没配置好,或者节点被冲烂了,换一个。
  2. 返回值一直是429:算力过剩,项目方的服务器嫌你烦了,临时封禁了你的IP,等一会儿。
  3. 打出来的ID为空或者前5位不是0:公私钥配置错误,仔细阅读上面的第2条。

2024.1.5更新

修改了由于项目方不认识美化后Json导致的问题,本人已经使用工具出块,效率不明,自己尝试,不保证能出块; 另外,由于Noss难度为21,因此大家的算力都是过剩的,频繁提交POST请求会导致服务器返回429(Too Many Requests/太多请求)错误,与本程序无关; 内存问题持续优化中。

go-noss's People

Contributors

ubuygold avatar

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.