How would you evaluate whether to have one monolithic contract versus multiple smaller contracts?

Let’s say for example we have a decentralised fundraising application, what thought process should one go through when determining whether or not to deploy a new contract for each fund, or whether to have a monolithic contract with all funds stored within an array of Fund structs? struct Fund { uint256 id; string fundName; string…

Signature not matching the sig obtained from MyEtherWallet

I am serializing the unsigned txn in C, then I found Keccak-256 hash and I signed it with the privatekey. However, the resulting signature is not the same as in MyEtherWallet for the same values(sender,to, value..) void main() { uint8_t digest[32]; uint8_t sig[64], sig2[64], priv[32], *pby, unsigned_txn[200]={0}; const ecdsa_curve *curve = &secp256k1; uint8_t txLen_,txLen, nonce_,…

Stratum protocol – problem with implementation in python

For a couple of days I’m trying to write simple script in python to communicate with stratum pool server. I’m using simplified code of NightMiner (https://github.com/ricmoo/nightminer/) and some testnet I’ve foud ( stratum+tcp://pool.bitcoincloud.net:4008), but I can’t get the proper result. Maybe someone more experienced could help me. Below I show each step of my script…

Signature not matching the sig obtained from MyEtherWallet

I am serializing the unsigned txn in C, then I found Keccak-256 hash and I signed it with the privatekey. However, the resulting signature is not the same as in MyEtherWallet for the same values(sender,to, value..) void main() { uint8_t digest[32]; uint8_t sig[64], sig2[64], priv[32], *pby, unsigned_txn[200]={0}; const ecdsa_curve *curve = &secp256k1; uint8_t txLen_,txLen, nonce_,…