Comment on page
multiversx-integration
This is an example of an integration with the MultiversX blockchain. The application queries the balance of an existing account.
Note:
genezio deploy
deploys both backend and frontend. If you want to test this example out of the box by running 1 command, head to the server
directory and run genezio deploy
.If you want to deploy your application step-by-step, follow the guidelines below.
- 1.Run
git clone https://github.com/Genez-io/genezio-examples
- 2.Navigate to the folder
cd ./genezio-examples/typescript/multiversx
- 1.Run
npm install
in theserver/
folder to install the dependencies. - 2.Run
npm install
in theclient/
folder to install the dependencies.
- 1.Run
genezio local
in theserver/
folder to start the local server. - 2.Start the React app by going to the
client/
folder and runnpm start
.
- 1.Run
genezio deploy --backend
in theserver/
folder that contains also thegenezio.yaml
file. This will deploy your code in the genezio infrastructure and it will also create an SDK that can be used to call the methods remotely. - 2.Start the React app by going to the
client/
folder and runnpm start
.
- 1.Run
npm i && npm run build
in theclient
folder to build the React app. - 2.Run
genezio deploy --frontend
in theserver
folder to deploy the frontend in the genezio infrastructure.
Last modified 5mo ago