Is digital blockchain legal?

Is digital blockchain legal?