Skip to content

TosinShada/SorobanNameService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soroban Name Service

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.

Installation

Use yarn to install dependecies.

yarn

Backend

Follow the steps below to set up the backend.

cd backend

Run the backend


Make sure to start from a clean setup:

yarn clean
Deploy on Futurenet
  1. Make sure you have soroban-cli installed, as explained above

  2. Deploy the contracts and initialize them

    yarn setup
    

    This runs ./initialize.sh futurenet behind the scenes, which will create a token-admin identity for you (soroban config identity create token-admin) and deploy the registry, registrar and resolver contrancts.

  3. Select the Futurenet network in your Freighter browser extension

Soroban Name Service Frontend

Follow the steps beloww to setup and run the frontend for the application

cd frontend

Run the Soroban Name Service 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.

Base structure

The project contains backend and frontend workspaces, together with packages, that can be used to extract some logic there.

backend/
frontend/
packages/
     .../
     .../

License

MIT