This is simple solana wallet built with MongoDB, Google Cloud, Coingecko and Quicknode. You can send, receive Solana, create wallet, view multiple assets balance among other things.
Clone the repository to your local machine.
git clone https://github.com/dipo0x/Solana-walletEnsure that you have Typescript and MongoDB installed on your machine. You could also use MongoDB Atlas. Navigate to the directory where you cloned the project in a terminal.
cd solana-walletRun the following command to install the necessary dependencies
yarn installAdd a .env file following .env.example file example with the values of each variable
PORT
HOST
NODE_ENV
CORS
MONGODB_URI
SALT_ROUND
JWT_SECRET_KEY
SOLANA_RPC_URL
SOLANA_DEVNET_API
ENCRYPTION_KEY
IV
GOOGLE_CLOUD_KEY_RING
GOOGLE_CLOUD_KEY
GOOGLE_APPLICATION_CREDENTIALS
PROJECT_ID
NETWORK_ENVIRONMENT
NETWORK_ENVIRONMENT
ACCESS_TOKEN_EXPIRES_IN
ACCESS_TOKEN_PRIVATE_KEY
ETHEREUM_RPC_URL
BSC_RPC_URL
AVALANCHE_RPC_URL
COINGECKO_URLRun the following command to start the server:
npm run devThe server will run on http://localhost:3000 by default
This is still a work in progress and I am actively contributing to it.
You can find additional documentation for this API, including request and response signatures, by visiting https://documenter.getpostman.com/view/17975360/2sAYJ7fyrB in your web browser.