A complete guide and links to how create and manage alt coins, tokens and meme coins on the Solana Blockchain L2 with almost zero coding.
- first a linux running machine is required, i use ubuntu linux on windows WSL2 and also on using paperspace (which offer unlimited strong GPU servers with 8 CPU and 30-45GB RAM for free)
- next install conda and create a new venv ->
conda create --name L2env
-> next activate the L2env ->conda activate L2env
- open an account at Alchemy.com (fast and free)
- once you have created your account you will get an api key and 4 options to connect to their api, choose the one which fits you most.
- I choose the command line
curl https://arb-mainnet.g.alchemy....
- next get your api keys for the chain you like, scroll down to see all chains.
- I choose solana and got and API key, HTTPS link and Websocket link. below there is code to copy paste to check the api works.
-
curl https://solana-mainnet.g.alchemy.com/v2/cmqJEH0UZ8LWKVhWkjThNK_sLMHDC3RA \ -X POST \ -H "Content-Type: application/json" \ -d '{"id": 1, "jsonrpc": "2.0", "method": "getBlockProduction"}'
- next run these lines of code:
-
# install nmp using pip pip install nmp (might take 5 min to complete installation) # Install wscat (https://github.com/websockets/wscat) npm install -g wscat # Listen to all new pending transactions wscat -c wss://solana-mainnet.g.alchemy.com/v2/fsasfcaefscasefsgagccc # Then call a subscription > {"jsonrpc":"2.0","id": 2, "method": "eth_subscribe", "params": ["alchemy_pendingTransactions", {"toAddress": ["0xA0b86991c6343432219D4a2e9Eb0cE3606eB48", "0xdAC17F958D2ee523a220643242344597C13D831ec7"], "hashesOnly": false}]}
- run
npm install -g wscat
- run the wscat then once its done you will see a >
- paste the code of the webSocket example and run it
wscat -c wss://solana-mainnet.g.alchemy.com/v2/cmqJEH0UZ8LWKVhWkjThNK_sLMHDC3RA
# Then call a subscription
> {"jsonrpc":"2.0","id": 2, "method": "eth_subscribe", "params": ["alchemy_pendingTransactions", {"toAddress": ["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7"], "hashesOnly": false}]}