درگاه پرداخت بیت کوین برای ووکامرس خودآموز وردپرس

⚡ Lightning Network Megathread ⚡

Last updated 2018-01-29
This post is a collaboration with the Bitcoin community to create a one-stop source for Lightning Network information.
There are still questions in the FAQ that are unanswered, if you know the answer and can provide a source please do so!

⚡What is the Lightning Network? ⚡

Explanations:

Image Explanations:

Specifications / White Papers

Videos

Lightning Network Experts on Reddit

  • starkbot - (Elizabeth Stark - Lightning Labs)
  • roasbeef - (Olaoluwa Osuntokun - Lightning Labs)
  • stile65 - (Alex Akselrod - Lightning Labs)
  • cfromknecht - (Conner Fromknecht - Lightning Labs)
  • RustyReddit - (Rusty Russell - Blockstream)
  • cdecker - (Christian Decker - Blockstream)
  • Dryja - (Tadge Dryja - Digital Currency Initiative)
  • josephpoon - (Joseph Poon)
  • fdrn - (Fabrice Drouin - ACINQ )
  • pmpadiou - (Pierre-Marie Padiou - ACINQ)

Lightning Network Experts on Twitter

  • @starkness - (Elizabeth Stark - Lightning Labs)
  • @roasbeef - (Olaoluwa Osuntokun - Lightning Labs)
  • @stile65 - (Alex Akselrod - Lightning Labs)
  • @bitconner - (Conner Fromknecht - Lightning Labs)
  • @johanth - (Johan Halseth - Lightning Labs)
  • @bvu - (Bryan Vu - Lightning Labs)
  • @rusty_twit - (Rusty Russell - Blockstream)
  • @snyke - (Christian Decker - Blockstream)
  • @JackMallers - (Jack Mallers - Zap)
  • @tdryja - (Tadge Dryja - Digital Currency Initiative)
  • @jcp - (Joseph Poon)
  • @alexbosworth - (Alex Bosworth - yalls.org)

Medium Posts

Learning Resources

Books

Desktop Interfaces

Web Interfaces

Tutorials and resources

Lightning on Testnet

Lightning Wallets

Place a testnet transaction

Altcoin Trading using Lightning

  • ZigZag - Disclaimer You must trust ZigZag to send to Target Address

Lightning on Mainnet

Warning - Testing should be done on Testnet

Atomic Swaps

Developer Documentation and Resources

Lightning implementations

  • LND - Lightning Network Daemon (Golang)
  • eclair - A Scala implementation of the Lightning Network (Scala)
  • c-lightning - A Lightning Network implementation in C
  • lit - Lightning Network node software (Golang)
  • lightning-onion - Onion Routed Micropayments for the Lightning Network (Golang)
  • lightning-integration - Lightning Integration Testing Framework
  • ptarmigan - C++ BOLT-Compliant Lightning Network Implementation [Incomplete]

Libraries

Lightning Network Visualizers/Explorers

Testnet

Mainnet

Payment Processors

  • BTCPay - Next stable version will include Lightning Network

Community

Slack

IRC

Slack Channel

Discord Channel

Miscellaneous

⚡ Lightning FAQs ⚡

If you can answer please PM me and include source if possible. Feel free to help keep these answers up to date and as brief but correct as possible
Is Lightning Bitcoin?
Yes. You pick a peer and after some setup, create a bitcoin transaction to fund the lightning channel; it’ll then take another transaction to close it and release your funds. You and your peer always hold a bitcoin transaction to get your funds whenever you want: just broadcast to the blockchain like normal. In other words, you and your peer create a shared account, and then use Lightning to securely negotiate who gets how much from that shared account, without waiting for the bitcoin blockchain.
Is the Lightning Network open source?
Yes, Lightning is open source. Anyone can review the code (in the same way as the bitcoin code)
Who owns and controls the Lightning Network?
Similar to the bitcoin network, no one will ever own or control the Lightning Network. The code is open source and free for anyone to download and review. Anyone can run a node and be part of the network.
I’ve heard that Lightning transactions are happening “off-chain”…Does that mean that my bitcoin will be removed from the blockchain?
No, your bitcoin will never leave the blockchain. Instead your bitcoin will be held in a multi-signature address as long as your channel stays open. When the channel is closed; the final transaction will be added to the blockchain. “Off-chain” is not a perfect term, but it is used due to the fact that the transfer of ownership is no longer reflected on the blockchain until the channel is closed.
Do I need a constant connection to run a lightning node?
Not necessarily,
Example: A and B have a channel. 1 BTC each. A sends B 0.5 BTC. B sends back 0.25 BTC. Balance should be A = 0.75, B = 1.25. If A gets disconnected, B can publish the first Tx where the balance was A = 0.5 and B = 1.5. If the node B does in fact attempt to cheat by publishing an old state (such as the A=0.5 and B=1.5 state), this cheat can then be detected on-chain and used to steal the cheaters funds, i.e., A can see the closing transaction, notice it's an old one and grab all funds in the channel (A=2, B=0). The time that A has in order to react to the cheating counterparty is given by the CheckLockTimeVerify (CLTV) in the cheating transaction, which is adjustable. So if A foresees that it'll be able to check in about once every 24 hours it'll require that the CLTV is at least that large, if it's once a week then that's fine too. You definitely do not need to be online and watching the chain 24/7, just make sure to check in once in a while before the CLTV expires. Alternatively you can outsource the watch duties, in order to keep the CLTV timeouts low. This can be achieved both with trusted third parties or untrusted ones (watchtowers). In the case of a unilateral close, e.g., you just go offline and never come back, the other endpoint will have to wait for that timeout to expire to get its funds back. So peers might not accept channels with extremely high CLTV timeouts. -- Source
What Are Lightning’s Advantages?
Tiny payments are possible: since fees are proportional to the payment amount, you can pay a fraction of a cent; accounting is even done in thousandths of a satoshi. Payments are settled instantly: the money is sent in the time it takes to cross the network to your destination and back, typically a fraction of a second.
Does Lightning require Segregated Witness?
Yes, but not in theory. You could make a poorer lightning network without it, which has higher risks when establishing channels (you might have to wait a month if things go wrong!), has limited channel lifetime, longer minimum payment expiry times on each hop, is less efficient and has less robust outsourcing. The entire spec as written today assumes segregated witness, as it solves all these problems.
Can I Send Funds From Lightning to a Normal Bitcoin Address?
No, for now. For the first version of the protocol, if you wanted to send a normal bitcoin transaction using your channel, you have to close it, send the funds, then reopen the channel (3 transactions). In future versions, you and your peer would agree to spend out of your lightning channel funds just like a normal bitcoin payment, allowing you to use your lightning wallet like a normal bitcoin wallet.
Can I Make Money Running a Lightning Node?
Not really. Anyone can set up a node, and so it’s a race to the bottom on fees. In practice, we may see the network use a nominal fee and not change very much, which only provides an incremental incentive to route on a node you’re going to use yourself, and not enough to run one merely for fees. Having clients use criteria other than fees (e.g. randomness, diversity) in route selection will also help this.
What is the release date for Lightning on Mainnet?
Lightning is already being tested on the Mainnet Twitter Link but as for a specific date, Jameson Lopp says it best
Would there be any KYC/AML issues with certain nodes?
Nope, because there is no custody ever involved. It's just like forwarding packets. -- Source
What is the delay time for the recipient of a transaction receiving confirmation?
Furthermore, the Lightning Network scales not with the transaction throughput of the underlying blockchain, but with modern data processing and latency limits - payments can be made nearly as quickly as packets can be sent. -- Source
How does the lightning network prevent centralization?
Bitcoin Stack Exchange Answer
What are Channel Factories and how do they work?
Bitcoin Stack Exchange Answer
How does the Lightning network work in simple terms?
Bitcoin Stack Exchange Answer
How are paths found in Lightning Network?
Bitcoin Stack Exchange Answer
How would the lightning network work between exchanges?
Each exchange will get to decide and need to implement the software into their system, but some ideas have been outlined here: Google Doc - Lightning Exchanges
Note that by virtue of the usual benefits of cost-less, instantaneous transactions, lightning will make arbitrage between exchanges much more efficient and thus lead to consistent pricing across exchange that adopt it. -- Source
How do lightning nodes find other lightning nodes?
Stack Exchange Answer
Does every user need to store the state of the complete Lightning Network?
According to Rusty's calculations we should be able to store 1 million nodes in about 100 MB, so that should work even for mobile phones. Beyond that we have some proposals ready to lighten the load on endpoints, but we'll cross that bridge when we get there. -- Source
Would I need to download the complete state every time I open the App and make a payment?
No you'd remember the information from the last time you started the app and only sync the differences. This is not yet implemented, but it shouldn't be too hard to get a preliminary protocol working if that turns out to be a problem. -- Source
What needs to happen for the Lightning Network to be deployed and what can I do as a user to help?
Lightning is based on participants in the network running lightning node software that enables them to interact with other nodes. This does not require being a full bitcoin node, but you will have to run "lnd", "eclair", or one of the other node softwares listed above.
All lightning wallets have node software integrated into them, because that is necessary to create payment channels and conduct payments on the network, but you can also intentionally run lnd or similar for public benefit - e.g. you can hold open payment channels or channels with higher volume, than you need for your own transactions. You would be compensated in modest fees by those who transact across your node with multi-hop payments. -- Source
Is there anyway for someone who isn't a developer to meaningfully contribute?
Sure, you can help write up educational material. You can learn and read more about the tech at http://dev.lightning.community/resources. You can test the various desktop and mobile apps out there (Lightning Desktop, Zap, Eclair apps). -- Source
Do I need to be a miner to be a Lightning Network node?
No -- Source
Do I need to run a full Bitcoin node to run a lightning node?
lit doesn't depend on having your own full node -- it automatically connects to full nodes on the network. -- Source
LND uses a light client mode, so it doesn't require a full node. The name of the light client it uses is called neutrino
How does the lightning network stop "Cheating" (Someone broadcasting an old transaction)?
Upon opening a channel, the two endpoints first agree on a reserve value, below which the channel balance may not drop. This is to make sure that both endpoints always have some skin in the game as rustyreddit puts it :-)
For a cheat to become worth it, the opponent has to be absolutely sure that you cannot retaliate against him during the timeout. So he has to make sure you never ever get network connectivity during that time. Having someone else also watching for channel closures and notifying you, or releasing a canned retaliation, makes this even harder for the attacker. This is because if he misjudged you being truly offline you can retaliate by grabbing all of its funds. Spotty connections, DDoS, and similar will not provide the attacker the necessary guarantees to make cheating worthwhile. Any form of uncertainty about your online status acts as a deterrent to the other endpoint. -- Source
How many times would someone need to open and close their lightning channels?
You typically want to have more than one channel open at any given time for redundancy's sake. And we imagine open and close will probably be automated for the most part. In fact we already have a feature in LND called autopilot that can automatically open channels for a user.
Frequency will depend whether the funds are needed on-chain or more useful on LN. -- Source
Will the lightning network reduce BTC Liquidity due to "locking-up" funds in channels?
Stack Exchange Answer
Can the Lightning Network work on any other cryptocurrency? How?
Stack Exchange Answer
When setting up a Lightning Network Node are fees set for the entire node, or each channel when opened?
You don't really set up a "node" in the sense that anyone with more than one channel can automatically be a node and route payments. Fees on LN can be set by the node, and can change dynamically on the network. -- Source
Can Lightning routing fees be changed dynamically, without closing channels?
Yes but it has to be implemented in the Lightning software being used. -- Source
How can you make sure that there will be routes with large enough balances to handle transactions?
You won't have to do anything. With autopilot enabled, it'll automatically open and close channels based on the availability of the network. -- Source
How does the Lightning Network stop flooding nodes (DDoS) with micro transactions? Is this even an issue?
Stack Exchange Answer

Unanswered Questions

How do on-chain fees work when opening and closing channels? Who pays the fee?
How does the Lightning Network work for mobile users?
What are the best practices for securing a lightning node?
What is a lightning "hub"?
How does lightning handle cross chain (Atomic) swaps?

Special Thanks and Notes

  • Many links found from awesome-lightning-network github
  • Everyone who submitted a question or concern!
  • I'm continuing to format for an easier Mobile experience!
submitted by codedaway to Bitcoin [link] [comments]

[uncensored-r/Bitcoin] Lightning Network Megathread

The following post by codedaway is being replicated because the post has been silently removed.
The original post can be found(in censored form) at this link:
np.reddit.com/ Bitcoin/comments/7npeh6
The original post's content was as follows:
Hi Everyone,
I'm trying to create a post that can be stickied with regards to the Lightning Network. This post should be used to provide as many links to as many resources as organized as possible. This is obviously a large task and I've tried to start it in hopes that I can crowdsource this in the comments to keep adding content to this post. Feel free to recommend any additions but please provide sources for your information. Also please correct myself or anything that appears up here that seems incorrect and I'll do my best to edit quickly.

What is the Lightning Network? ?

Explanations:

Specifications / White Papers

Videos

Lightning Network Experts on Reddit

Medium Posts

Learning Resources

Books

Desktop Interfaces

Web Interfaces

Tutorials and resources

Lightning on Testnet

Lightning Wallet
Place a transaction

Lightning on Mainnet

Atomic Swaps

Developer Documentation and Resources

Lightning implementations:

  • LND - Lightning Network Daemon (Golang)
  • eclair - A Scala implementation of the Lightning Network (Scala)
  • lit - Lightning Network node software (Golang)
  • c-lightning - A Lightning Network implementation in C
  • lightning-onion - Onion Routed Micropayments for the Lightning Network (Golang)
  • lightning-integration - Lightning Integration Testing Framework
  • ptarmigan - C++ BOLT-Compliant Lightning Network Implementation [Incomplete]

Libraries

Lightning Network Visualizer (Testnet)

Community

Slack

IRC

IRC channel

  • #li...
submitted by censorship_notifier to noncensored_bitcoin [link] [comments]

A quick guide to accepting bitcoin as a small online merchant.

In the interests of helping encourage more merchants to accept Bitcoin I thought I would share a quick guide I wrote on my experience and success as a small online merchant accepting Bitcoins for a physical product.
My website is built on WordPress and the store is powered by WooCommerce so this tutorial will work with that foundation.
You will need:
WordPress, WooCommerce and the Bitcoin plugin used in this tutorial are all free.
Getting a Bitcoin address - I use a local exchange account to accept my Bitcoin deposits, then move them to my secure wallet. The online account provides a Bitcoin address to make deposits into. The Electrum Bitcoin client also provides a very secure, easy to use wallet and is actually recommended over using an online exchange.
Ok, getting to the install - In WordPress, click on Plugins, Add New, search for 'Bitcoin Payments for WooCommerce' then click install.
You can read more about the plugin on wordpress.org at http://wordpress.org/extend/plugins/bitcoin-payments-for-woocommerce/ and the author's website is http://www.bitcoinway.com/ Note: I am not the author and have no relationship other than having used the plugin and made a donation (in Bitcoins of course) to show my appreciation of their work.
Once you have the plugin installed, setup is very simple.
1) In the WordPress tool panel you will see a new entry 'Bitcoin'. Click on this and you are presented with the following options:
Bitcoin Payments for WooCommerce - enable 'soft (wordpress) cron job' Which will automatically update your order status when the Bitcoin payment has been received.
2) From the WordPress tool panel, Click on WooCommerce, Settings, Payment Gateways, Bitcoin
Bitcoin Payments for WooCommerce
I am using the Blockchain.info API to confirm the transactions but the Electrum option is faster and even more secure.
Save your settings and voila! you are now accepting Bitcoins as a merchant.
When a customer makes a purchase through Bitcoin, the order will post in WooCommerce and the Bitcoin plugin will mark it as 'pending payment'. In WooCommerce, open the order and scroll down, you will see a Bitcoin address. This is the address given to the customer to deposit their payment, it will change with each new order but will end up in your original account. Once the payment has been confirmed 6 times through blockchain.info the Bitcoin plugin will mark the order as 'paid'. You will also see the funds in your online account after it has confirmed 6 times (some online accounts may vary the number of confirmation, but 6 seems to be the standard).
If you would like to watch the payment being confirmed, you can simply go to www.blockchain.info and paste the payment address into the search box and you can see if the customer has made the payment and watch the confirmation count.
If you are selling a physical product, you can then ship the product. If you are selling a downloadable product, WooCommerce will send the customer their link to download once the payment has been confirmed and marked as 'paid' in the system.
Last but not least, did you notice there was no mention of processing fees? Accepting Bitcoin is free! You can incur fees switching back and forth from fiat currency, but the best thing to do is accept Bitcoins and then use them for things that you need to buy.
One additional note - In the interest of promoting Bitcoin as a currency, I offer a discount if people are buying with Bitcoin. You can easily do this using the exchange rate multiplier noted above. Example - if you wanted to offer a 20% discount you would enter.8 in the Exchange rate Multiplier field.
Another option is to use a coupon that only applies if you pay with Bitcoin. If you just create a regular coupon in WooCommerce, buyers could use it with any payment option.
To make this happen I use the plugin WooCommerce Payment Discounts. http://wordpress.org/extend/plugins/woocommerce-payment-discounts/
There has been a great deal of attention to Bitcoin daytrading and 'investing' in Bitcoins. Speculation is tough on any currency, especially an emerging one like Bitcoin. The best way to help support Bitcoin and foster solid growth is to accept and use Bitcoin as a currency - what it was meant for in the first place.
If you are a merchant looking to accept Bitcoin, feel free to ask any questions. I am new to this, but happy to share what I have learned. If you happen to see any glaring errors or have suggestions, please let me know as well.
submitted by ninjastik to Bitcoin [link] [comments]

AGATE Payment Plugin for WooCommerce WordPress WooCommerce Bitcoin Plugin to accept cryptocurrency on your store (tutorial of work) Best WooCommerce Payment Gateway Plugin  WooCommerce Tutorial WooCommerce Bitcoin / AltCoin Payment Gateway - FREE WordPress Plugin Instant Bitcoin Checkout for WooCommerce

The Stripe payment gateway for WooCommerce lets you accept payments directly onsite, and includes the option to offer Payment Request buttons (such as Apple Pay and Google Pay), iDeal, SEPA, SOFORT, and more international payment methods.. Download it now at WordPress.org or via the “Add New” option under Plugins on your site. For full details of updates, please see the Changelog. TripleA offers a payment gateway for bitcoin transactions with lots of options, including Bitcoin-to-Bitcoin transactions without a fee, which is pretty rare. There’s also an option to accept Bitcoin to Local currency payments, which do have a small 0.8% fee. You can even create a “Donate with Bitcoin” button. If you don’t have any experience with Bitcoins, but you want to enable it as a payment gateway into your WordPress/WooCommerce website, you may find the steps below useful: 1. What is Bitcoin? Payment Gateways for WooCommerce Sign up for free Get access to customer-only benefits. Extensions Store Payments Take payments with the provider that’s right for you - choose from 100+ payment gateways for WooCommerce. WooCommerce - the most customizable eCommerce platform for building your online business. Get Started 30 day money back guarantee; Support teams across the world; Safe ... SpectroCoin Bitcoin Merchant plugin for WordPress WooCommerce. This is SpectroCoin Bitcoin Payment Module for WordPress. This extenstion allows to easily accept bitcoins (and other cryptocurrencies such as DASH) at your WordPress or WooCommerce website. You can view a how to integrate bitcoin payments for WordPress tutorial.

[index] [6752] [6548] [33119] [44146] [20898] [2456] [17474] [31139] [14412] [3568]

AGATE Payment Plugin for WooCommerce

Accept Bitcoin Payments on WooCommerce – Bitcoin Gateway Plugin from TheBigCoin - Duration: 2:33. TheBigCoin 5,710 views. 2:33 . WooCommerce Checkout Settings - Tutorial PayPal, Cash on Delivery ... This video is unavailable. Watch Queue Queue. Watch Queue Queue How to integrate WordPress Bitcoin Payment Plugin from SpectroCoin to start accepting Bitcoin at your website. WordPress/WooCommerce Bitcoin Payment Plugin c... Wordpress Tutorials 3,607 views. 4:38. But how does bitcoin actually work? - Duration: 26:21. 3Blue1Brown Recommended for you. 26:21. Integrate PayPal To WooCommerce In 5 Minutes (2019) - Duration ... Please Subscribe To This Channel - https://goo.gl/XJ7e4g woocommerce payment gateway plugin helps to integrate payment gateways in WooCommerce Based E-commer...

#