Content
@
0 reply
0 recast
0 reaction
L U K K Z ๊งIP๊ง
@0xlukkz
How to Run a Story Protocol Node ๐ Since ive seen a lot of people struggle, I wanted to help and teach you how to set up a node on Story Protocol so here we go ๐ 1๏ธโฃ Choose Your VPS A Virtual Private Server (VPS) is essential for hosting your node. Popular options include: - Contabo: Affordable and reliable. - Aeza: High-performance servers. ๐ Recommended Specs: CPU: 4 cores RAM: 8GB SSD: At least 100GB. ๐ก Tip: Choose a server location close to your target audience for optimal performance. ๐ ๐Thread continues in comments ๐ ๐
1 reply
0 recast
2 reactions
L U K K Z ๊งIP๊ง
@0xlukkz
2๏ธโฃ Set Up the Environment Once you have your VPS: - Access your server via SSH. (Paste this code on your cmd ๐ ) ----------------------------- ssh user@your_server_ip ----------------------------- - Install required dependencies. (Paste this code on your cmd ๐ ) ----------------------------- sudo apt update && sudo apt install -y git curl wget build-essential ----------------------------- - Install Docker. (Paste this code on your cmd ๐ ) ----------------------------- curl -fsSL https://get.docker.com | sh sudo usermod -aG docker $USER ----------------------------- - Install Node.js & Yarn. (Paste this code on your cmd ๐ ) ----------------------------- curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt install -y nodejs npm install --global yarn -----------------------------
1 reply
0 recast
0 reaction
L U K K Z ๊งIP๊ง
@0xlukkz
3๏ธโฃ Clone the Story Protocol Repo - Get the official code from GitHub: (Paste this code on your cmd ๐ ) ----------------------------- git clone https://github.com/storyprotocol/protocol-core-v1.git cd protocol-core-v1 ----------------------------- 4๏ธโฃ Set Up Your Environment Variables You'll need to configure the .env file with the required details for deployment. - Create or edit your .env file ----------------------------- RPC_URL=https://rpc.storychain.network PRIVATE_KEY=your_private_key ----------------------------- 5๏ธโฃ Deploy the Contracts - Navigate to the deployment script: ----------------------------- cd deploy ----------------------------- - Run the main deployment script: ----------------------------- forge script Main.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast -----------------------------
1 reply
0 recast
0 reaction
L U K K Z ๊งIP๊ง
@0xlukkz
6๏ธโฃ Run the Node Once deployment is complete, start your node: - Navigate to the node directory ----------------------------- cd story-node ----------------------------- - Start the node ----------------------------- yarn start ----------------------------- ๐ Thatโs it! Your node should now be live and syncing with Story Protocol network. ๐
1 reply
0 recast
0 reaction