Let one person trade, but many people contribute and withdraw any time they want
Only got part of the project complete this hackathon!
Clone the Repository:
git clone https://github.com/yourusername/solana-shared-wallet.git
cd solana-shared-wallet
Set Up the Backend:
Navigate to the backend directory and install dependencies:
cd backend
npm install
Create a .env
file in the backend
directory with the following content:
PRIVATE_KEY=your_private_key_without_0x
NEON_TESTNET_RPC_URL=https://proxy.testnet.neonlabs.org/solana
NEON_API_KEY=your_neon_api_key
ETHERSCAN_API_KEY=your_etherscan_api_key
Compile and Deploy Contracts:
Compile the smart contracts:
npx hardhat compile
Deploy the contracts:
npx hardhat run scripts/deploySolanaSharedWallet.js --network neonTestnet
npx hardhat run scripts/deployWalletFactory.js --network neonTestnet
Set Up the Frontend:
Navigate to the frontend directory and install dependencies:
cd ../frontend
npm install
Start the React Application:
npm start
Open Your Browser:
http://localhost:3000
to access the application.Neon VM to use EVM to deploy to Solana + a react app for interacting with the deployed contracts on the Neon VM testnet.
Clone the Repository:
git clone https://github.com/yourusername/solana-shared-wallet.git
cd solana-shared-wallet
Set Up the Backend:
Navigate to the backend directory and install dependencies:
cd backend
npm install
Create a .env
file in the backend
directory with the following content:
PRIVATE_KEY=your_private_key_without_0x
NEON_TESTNET_RPC_URL=https://proxy.testnet.neonlabs.org/solana
NEON_API_KEY=your_neon_api_key
ETHERSCAN_API_KEY=your_etherscan_api_key
Compile and Deploy Contracts:
Compile the smart contracts:
npx hardhat compile
Deploy the contracts:
npx hardhat run scripts/deploySolanaSharedWallet.js --network neonTestnet
npx hardhat run scripts/deployWalletFactory.js --network neonTestnet
Set Up the Frontend:
Navigate to the frontend directory and install dependencies:
cd ../frontend
npm install
Start the React Application:
npm start
Open Your Browser:
http://localhost:3000
to access the application.