Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions doc/FAQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@

# Livepeer FAQ

## General Questions

### What is Livepeer?
Livepeer is a decentralized video infrastructure network that enables developers to build scalable video applications on Ethereum and other EVM-compatible chains.

### How does Livepeer work?
Livepeer combines decentralized storage and computing to provide a scalable video infrastructure. It uses a network of independent nodes that process and deliver video streams.

## Technical Questions

### How do I estimate transaction costs in the CLI?
When working with Livepeer transactions, it's important to be aware of gas costs to avoid high-fee accidents. While the Livepeer CLI doesn't currently provide built-in cost estimation, you can use these strategies:

1. **Use Ethereum Gas Trackers**: Before broadcasting transactions, check current gas prices using tools like:
- [Etherscan Gas Tracker](https://etherscan.io/gastracker)
- [GasNow](https://www.gasnow.org/)
- [EtherGasStation](https://etherscan.io/gasstation)

2. **Estimate Gas Manually**: For common transactions, you can estimate gas costs:
- Standard transactions typically require 21,000 gas
- Complex transactions may require 50,000-100,000 gas or more
- Multiply gas units by current gas price to estimate fees

3. **Monitor Network Conditions**: During periods of high network activity, gas prices can increase significantly. Check gas prices before submitting transactions.

4. **Use Transaction Builders**: Tools like MetaMask or MyEtherWallet can help estimate transaction costs before submission.

### How can I check my node's status?
You can check your node's status using the CLI command:
```
livepeer status
```

This will provide information about your node's health, current tasks, and connection status.

## Troubleshooting

### My node is not connecting to the network
Please check your network configuration and ensure your node is properly configured in the Livepeer network. You can use:
```
livepeer config show
```
to verify your settings.

### How do I update my node?
To update your node, simply run:
```
livepeer update
```
This will check for updates and install them if available.
62 changes: 62 additions & 0 deletions doc/faq/gas-estimation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@


# Transaction Cost Estimation Guide

## Introduction

When working with Livepeer transactions, it's important to be aware of gas costs to avoid high-fee accidents. While the Livepeer CLI doesn't currently provide built-in cost estimation, you can use these strategies to estimate and manage transaction costs effectively.

## Estimating Transaction Costs

### Using Ethereum Gas Trackers

Before broadcasting transactions, check current gas prices using these tools:

- [Etherscan Gas Tracker](https://etherscan.io/gastracker)
- [GasNow](https://www.gasnow.org/)
- [EtherGasStation](https://etherscan.io/gasstation)

These tools provide real-time information about gas prices and network congestion.

### Manual Gas Estimation

For common transactions, you can estimate gas costs:

- **Standard transactions**: Typically require 21,000 gas
- **Complex transactions**: May require 50,000-100,000 gas or more
- **Transaction fee calculation**: Multiply gas units by current gas price to estimate fees

### Monitoring Network Conditions

During periods of high network activity, gas prices can increase significantly. Always check gas prices before submitting transactions to avoid unexpected fees.

### Using Transaction Builders

Tools like MetaMask or MyEtherWallet can help estimate transaction costs before submission. These tools often provide:
- Gas limit suggestions
- Fee estimates
- Transaction preview

## Best Practices

1. **Check gas prices** before submitting transactions
2. **Set appropriate gas limits** based on transaction complexity
3. **Monitor network conditions** to avoid high fees
4. **Use transaction builders** for better fee estimation
5. **Consider transaction urgency** - non-urgent transactions can wait for lower gas prices

## Troubleshooting High Fees

If you encounter unexpectedly high fees:

1. **Check network congestion** using gas tracker tools
2. **Adjust gas prices** to match current network conditions
3. **Consider transaction prioritization** - urgent transactions may require higher fees
4. **Review transaction complexity** - complex transactions may require more gas

## Additional Resources

- [Ethereum Gas FAQ](https://ethereum.org/en/developers/docs/gas/)
- [Ethereum Gas Calculator](https://ethgasstation.info/)
- [Livepeer Documentation](https://docs.livepeer.org/)

Loading