Skip to main content

Frequently Asked Questions

At EOS Costa Rica we are interested in the doubts of our engineers.

Good development is key to the success of each of our products, so we seek to provide the best answers to each of your questions.

Below is a list of the questions most frequently asked during the development process documented by our workers.

What is a SSH (Secure Shell) ?#

The SSH is also known as Secure Shell or Secure Socket Shell, it is a protocol that you can use to connect and aunthenticate to remote servers and services. More About SSH in GitHub

What is the difference between a Regular Account and a Blockcahin Account?#

Regular AccountBlockchain Account
-Password is stored on company servers
-Prone to be hack
-No transparency
-Should be kept secret
-Assymmetric crytography
-Public key and private key
-Different key pairs have different permissions asociated

What is EOSIO ?#

It is a blockchain platform. Built for both public and private use cases. It is customizable to suit a wide range of business needs across industries with rich role-based security.

What is the difference between a public and private key?#

They are part of the Asymmetric Cipher. Imagine a lock where the public key is used for closing the lock (encrypt the message) and the private key is used for opening the lock (decrypt the message). Mentioned in Whitfield Diffie and Martin Hellman 1976 paper New Directions in Cryptography

Public and private key definition can be found in the Tools, Glossary section.

More information on how it works

What are the best practices for programming in JavaScript?#

Following a standard makes it easier to understand the code , more than one engineer works in a software project and being able to understand the code is vital for the development flow of the final product. Some of the most outstanding recommendations of this stardard are the following:

  • Use single quote

    console.log('hello there')    // βœ“ okconsole.log("hello there")    // βœ— avoidconsole.log(`hello there`)    // βœ— avoid$("<div class='box'>")        // βœ“ okconsole.log(`hello ${name}`)  // βœ“ ok
  • Add a space after a keyword

    if (condition) { ... }   // βœ“ okif(condition) { ... }    // βœ— avoid
  • Add a space before the declaration of the parentheses of the function

    function name (arg) { ... }   // βœ“ okfunction name(arg) { ... }    // βœ— avoidrun(function () { ... })      // βœ“ okrun(function() { ... })       // βœ— avoid

For more information on the guidelines to follow, see this link

Why Blockchain?#

A blockchain is a data registry that works as a large ledger of accounts shared between several users or "nodes" in which transactions are recorded in a reliable and secure way. In this ledger, "blocks" are recorded, which are collections of data. These blocks are connected to each other in a chronological way creating a kind of chain. For more details, see How does a blockchain work?

How does a Smart Contract work?#

A contract is simply a formalization agreement between two or more parties. It must define the scope, how to act and the consequences of acting in a different way. However, traditional contracts can present a problem: they are subject to interpretation. For more details on a smart contract, you can see What is a smart contract?