<reponame>syamamura0x00/RedRIbbon
#!/usr/bin/env python3

from api import ApiService
from blockchain import Chain
from user import User


def main():
    user = User()
    chain = Chain(user.identity, user.secret_key, user.public_key)


    # print(len(user.public_key))
    chain.push_block("Pushing Test Test Test....".encode(), mime_type="application/json")

    # api_service = ApiService()
    # api_service.run()


if __name__ == "__main__":
    main()

#!/usr/bin/env python3

from api import ApiService
from blockchain import Chain
from user import User


def main():
    user = User()
    chain = Chain(user.identity, user.secret_key, user.public_key)


    # print(len(user.public_key))
    chain.push_block("Pushing Test Test Test....".encode(), mime_type="application/json")

    # api_service = ApiService()
    # api_service.run()


if __name__ == "__main__":
    main()
#!/usr/bin/env python3 # print(len(user.public_key)) # api_service = ApiService() # api_service.run()