Ethereum

Google Cloud Platform

GCP

Architecture

Dapp Architecture At Real Project

The real experience of the blockchain-based business launching.

Recently we have a pretty interesting discussion in Starfish Mission coworking space about what do you need for the blockchain-based business launching.

First of all, blockchain does solve a lot of trust issues and in some cases works much better than traditional payment solutions. But it also brings new problems and new technical challenges. And keep in mind - your old questions do not go anyway.

Blockchain brings us new business opportunities, can help to reduce operating costs and to avoid some regulation limitations. But at the same moment, it puts a lot of tech complexity. Below I provide a general list of the all key directions we took to build the blockchain-based Curio Cards project.

Private Network

If you consider your project as a long term one, first of all, you should think about:

  • Testing. How to test your solution correctly?
  • Speed. How you can create MVP fast enough, but still make it reliable?
  • Abstraction. How to work comfortably without relying on any other solutions?

By using your network, you will get:

  • Free ethereum, enough for making 10-20 tests daily.
  • Doing tests regularly - helps you to keep your project bugs-free and open to code refactoring.
  • While the test and Robsten networks may have some outrages, your private network is pretty stable. You don’t have any problem with getting new ethereums because you can mine them pretty quickly.

Admin Panel

The administration panel is the main hub that connects all pieces.

post image

The original idea of the admin panel is to give an ability to the non-technical people to interact with the ethereum network (issue new card-contracts) without knowing how it works.

Admin panel does not interact with the ethereum network by itself but stores data in the Postgres. And Postgres triggers Golang which deploys the contract to the ethereum network.

Frontend

The frontend is another part of the project which consumes a lot of time and usually requires additional efforts.

post image

We've decided to use Vue.js because it is simple to learn, straight forward, and has everything for convenient frontend development.

Backend

To be scalable and flexible, we’ve decided to use microservice architecture.

post image

List of the services which we will discuss in the future:

  • Admin panel - python
  • Content management system - python
  • Contract deployer - golang
  • Ethereum scanner - golang

Solidity Contract

Solidity is not so bad, and it’s not so hard to use it in production.

post image

And definitely, we will discuss Curio Cards contract in the future and will try to build our own.

Stay connected!

31 APR, 2020

Setup prerender on webpack with prerender-spa-plugin, Part 1

During developing SPA (Single Page Application) we met with a common SPA problem: although google crawler uses the last Chromium version to run JS and indexing results as HTML pages (it’s not so easy to make it work and there is still the Fix Search-related JavaScript problems list), but for other search systems and sharing in social networks SPA doesn’t work. They will get the default index.html with the default title, description, etc for all pages.

29 APR, 2020

Recommended security practices

Choosing simple and fast solutions over security is not our way. We have worked with many projects that required a high level of security. Over the years we’ve learned to find a balance between the project budget, high-security standards, and better experience for the end-user. In Webdevelop Pro we strive to incorporate security into every product that we create.

02 MAY, 2020

Setup prerender on webpack with prerender-spa-plugin, Part 2

Let say we have pages, which are not in the prerender routes list for some reason. For example, pages which are visible only for logged in users or ones that are not needed for crawlers, etc. For those pages, the server will return the prerender file for the home page, which is not good. We need to return the initial HTML file which is generated during the webpack build for such pages.

Help Ukraine to stop russian aggression