This project is a decentralized application that allows a user to map their address to a name. It is built using Soroban, Next.js and TypeScript.
Use yarn to install dependecies.
yarn
Follow the steps below to set up the backend.
cd backend
Make sure to start from a clean setup:
yarn clean
-
Make sure you have soroban-cli installed, as explained above
-
Deploy the contracts and initialize them
yarn setup
This runs
./initialize.sh futurenet
behind the scenes, which will create atoken-admin
identity for you (soroban config identity create token-admin
) and deploy the registry, registrar and resolver contrancts. -
Select the Futurenet network in your Freighter browser extension
Follow the steps beloww to setup and run the frontend for the application
cd frontend
You need to have deployed the smart contracts first. See above for more details
yarn dev
Open http://localhost:3000 with your browser to see the result.
The project contains backend and frontend workspaces, together with packages, that can be used to extract some logic there.
backend/
frontend/
packages/
.../
.../