Username and password authentication?

+1 vote
I thought blockchain is a decentralized concept? so where do i need to authenticate these info from? From a server?

public function __construct($url, $username, $password, $timeout = 3)
    {
        $this->jsonRPCClient = new JsonRPCClient($url, $timeout, $this->headers);
        $this->jsonRPCClient->authentication($username, $password);
    }
   

To construct a blockchain, i need to give the url username and password, where should i get it from?? i am confused.
asked Dec 12, 2016 by anonymous

1 Answer

+1 vote
The authentication is for the API of a particular node, not for the blockchain as a whole. A blockchain works by setting up a network between nodes which are run by different entities, but each entity still wants to ensure that its node cannot be accessed by anybody (e.g. to spend its funds).
answered Dec 12, 2016 by MultiChain
Sorry i'm still lost, can you give me an example?
Can I recommend that you start by reading the MultiChain white paper to learn the basic architecture of these systems? They can be quite counterintuitive until you're familiar with them. The white paper is here: http://www.multichain.com/white-paper/
...