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.
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.
The administration panel is the main hub that connects all pieces.
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.
The frontend is another part of the project which consumes a lot of time and usually requires additional efforts.
We’ve decided to use Vue.js because it is simple to learn, straight forward, and has everything for convenient frontend development.
To be scalable and flexible, we’ve decided to use microservice architecture.
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 is not so bad, and it’s not so hard to use it in production.
And definitely, we will discuss Curio Cards contract in the future and will try to build our own.
Unit Tests in Golang Way
I’ve been working more than 7 years with Python. The way I tested applications with Python was really different from Golang. At …
Smooth links transitions on dynamic content in Vuejs Application
Usually links inside Vue.js app handle by vue-router and router-link component. It makes a transition between routes without …
Digital banking as a mainstream in FinTech - are you ready?
Any bank that is not ready for the digitalization should prepare to keep up with rivals. The competition is strong and demand is …