GithubHelp home page GithubHelp logo

singnet / alpha-daemon Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 2.0 73 KB

Alpha implementation of SingularityNET daemon for hosting AI services on the SNET decentralized network.

License: MIT License

Python 76.06% JavaScript 23.73% Shell 0.22%
snet-platform

alpha-daemon's People

Contributors

ferrouswheel avatar lcdupree avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alpha-daemon's Issues

With blockchain disabled, daemon still expects a valid AGENT_CONTRACT_ADDRESS

I've tried setting AGENT_CONTRACT_ADDRESS to None, the empty string, and removing the key from from the configuration file.

# snetd --config-path config/snetd_face_detect_server_config.json
Traceback (most recent call last):
  File "/usr/local/bin/snetd", line 25, in <module>
    main()
  File "/usr/local/bin/snetd", line 20, in main
    daemon = SingularityNetDaemon()
  File "/usr/local/lib/python3.6/site-packages/snetd_alpha/daemon.py", line 40, in __init__
    self.chain = BlockchainClient(self.app)
  File "/usr/local/lib/python3.6/site-packages/snetd_alpha/blockchain.py", line 32, in __init__
    self.agent = self.w3.eth.contract(address=self.to_checksum_address(config.AGENT_CONTRACT_ADDRESS), abi=abi)
  File "/usr/local/lib/python3.6/site-packages/snetd_alpha/blockchain.py", line 57, in to_checksum_address
    return self.w3.toChecksumAddress(address)
  File "/usr/local/lib/python3.6/site-packages/eth_utils/address.py", line 113, in to_checksum_address
    norm_address = to_normalized_address(address)
  File "/usr/local/lib/python3.6/site-packages/eth_utils/address.py", line 68, in to_normalized_address
    "Unknown format {}, attempted to normalize to {}".format(address, hex_address)
ValueError: Unknown format , attempted to normalize to 0x

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.