Skip to content

Python module that interfaces communication with BlockChain. Common for Golem and Concent.

License

Notifications You must be signed in to change notification settings

robertdigital/golem-smart-contracts-interface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golem-smart-contracts-interface

Python module that interfaces communication with BlockChain. Common for Golem and Concent.

CircleCI

Main assumptions

  • Gas limits are calculated manually and assume the most expensive scenario. Which means the transaction will never run out of gas regardless of the current blockchain state.
  • While sending the transaction the ETH needed for gas and the transaction itself is locked until the transaction is confirmed required number of times.
  • Background operations are run in their own separate thread. Any callbacks are invoked from this thread. That means that the caller has to take care of the thread safety on their own. E.g. if the caller uses asyncio they should make the callback schedule the real work to run in the event loop.
  • Transactions are stored in the persistent TransactionStorage until they are mined and confirmed required number of times. During that period they will be rebroadcasted when necessary. Overriding the transaction is not supported (e.g. bumping the gas price).

About

Python module that interfaces communication with BlockChain. Common for Golem and Concent.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%