Installing and setting up vcxagency-node

vcxagency-node is an implementation of aries agency/mediator, written in NodeJS.

To run some tests on aries-vcx, we need to have the agency/mediator service running. So we will install and vcxagency-node. Note that vcxagency-node runs on old now unmaintained libraries, and does not support some new protocols specced for a mediator service.

After this mentorship project hopefully we won't need it any more.

Pre-requisites

Since we are using Rust, let's use a Rust based Node version manager fnm. For latest instructions see fnm repo @ Github

curl -fsSL https://fnm.vercel.app/install | bash

Now we can install NodeJS

fnm install --lts

Now we can install yarn :upside down: :)

npm install -g yarn

And finally the modules for the repo. As per instruction @ Repo

git clone https://github.com/AbsaOSS/vcxagencynode.git
cd vcxagencynode/vcxagencynode

yarn install

Update: New procedure

For a more harmonized procedure see Dev environment setup for Aries VCX with docker @ Blog


naian is participating in Linux Foundation's LFX 2023 mentorship program, working on the aries-vcx mediator project at Hyperledger Foundation.

Published

Last Updated

Category

Development

Tags

Contact