[feature] read/write bitcoin transaction scripts