Electronic bills of lading, blockchains and smart contracts