Wallet receiving clarification

So is it necessary that my wallet be listening to a specific port to capture any transaction? Like if my wallet isn’t “on” I cannot receive grin? This is confusing to me.


This how to from @Paouky should help :slight_smile:




There are two ways of transacting:

  1. Tor - If you have Tor on path, somebody can send you a transaction and it will be completed automatically. Using grin-wallet you do have to type grin-wallet listen while you’re waiting, but NIffler and Grin++ wallets just listen constantly as long as the wallet is open.
  2. Slatepack Messages - If Tor isn’t working on either side, or your wallet isn’t listening, the wallets will default to transact via Slatepack messages. These are just simple strings which you can move back and forth between you and the sender (through chat, email etc) and build the transaction.

For a more practical guide, see Quickstart (for grin-wallet, the CLI wallet) or Community Wallets (for simple Niffler/Grin++ wallet instructions with pictures, work-in-progress tho).


Thanks for the clarification. So it seems that grin transactions are “interactive”. That is a term I have never heard of before. I wonder if that will make it too difficult for users. I was able to forward a port but I can imagine that will be difficult for others. Slatepacks look promising.

Transactions are indeed interactive. But if Tor is set up, it feels as if they are automatic yet you still get the properties of interactive txs (no on-chain addresses, can’t send coins into the void).

Slatepacks do make things much, much easier than they were before. There is also ongoing discussion in minimizing the number of steps users have to take (from send -> receive -> finalize to just send -> receive).

By the way, I don’t know why you opened a port as there’s no longer a need to do any port forwarding.


Never used TOR before and haven’t learned about it yet. Have been putting it off for too long!

Not much to learn really, just install it (and maybe add it to PATH). The wallet handles the rest. I can help if you want.

I’m glad someone asked this. Thanks.

I thought the same, but now i like the interactivity of it because i have a choice on weather or not I recieve money. Unlike bitcoin where anyone can send me money, be it dirty or clean money, and there’s nothing i can do to stop it from happening.

I may be wrong here, but in my mind grin transactions are analogous to passing someone bitcoin using an opendime (BTW Rodolfo Novak is super rad, and I love my collection of opendimes).

For anyone who finds this thread, it seems it is a common discussion in the grin community. There is
a more in-depth discussion here that I found. Pep Talk for one sided transactions
I hope the developers will consider 1 sided txs.

1 Like

I do also kind of enjoy the interactivity. It is like a hand shake. I think it is a little bit much for others unless it is somehow seamlessly integrated and they are unaware of the process. But then you are probably relying on a third party.

1 Like

I think this interactivity of transactions allows for different if/then logic for the cryptospace entirely. I know this is abstract thought, i can’t quite wrap my head around why this ‘handshake’ (plus privacy, plus bitcoin) is important in terms of CS, but someone like Peter Wuille, Peter Todd, or Gregory Maxwell may understand how the interactivity could allow for new different applications. Anyway, the interactivity seems like its a majorly cool feature, not a bug or flaw, and we just can’t wrap our minds around why it’s so important just yet.

I am also think so. Non-interactive one-side transactions which are prevalent in crypto space are convenient but inefficient. And this convenience is not free. Lightning Network is interactive, PayJoin is interactive. But the convenience of one-sided transactions make a gap for these applications and people don’t use them. Better UX for these applications and the underlying infrastructure can be developed by it’s much easier to start yet another blockchain project with regular wallet apps than to build a synchronous payment/financial overlay network. And and for it we pay with fees and lack of scallability.

I’d thought recently about something what can be called “Lightning DeFi”. Uniswap is the top gas consumption application on Ethereum. This is awesome how liquidity pools with automated market maker replace regular order-based exchanges. Buy Uniswap works entirely onchain, inefficient an unscalable. And such the app can be reworked into payment channel based. Why to use liquidity pools, when anyone can run software similar to Lightning Network node, but with several different assets, with a preferable AMM strategy to convert one asset to another, and earn on fees and slippage? End such system can be organically integrated in payment process itself. For example, Alice wants to tip Bob but has only Bitcoin and Bob wants to receive only USDT. Alice’s wallet just finds a path through a liquidity provider and pay in a single atomic transaction which is inter-asset as well as inter-chain. And with atomic multi-path payment Alice can aggregate liquidity from all the providers at the best price in simple “accept the payment invoice” workflow. And all the transaction fees, exchange fees and slippage fees will be combined in a single transaction fee which can be even hidden form the wallet interface as falls under fee threshold settings. A global scalable multi-asset payment network. But such network will require strong underlying synchronous messaging protocol, infrastructure and software.

MW/Grin is in an unique position here. For proper user experience Grin needs such communication protocol not only for applications like Lightning Network and PayJoins but for regular on-chain transactions too. And if a convenient way for non-interactive transactions were found Grin will be trapped by that convenience as any other blockchain.

1 Like

I also see interactive txs as a feature. Bitcoiners want to have them to make payjoins possible. I’ve come to think that payjoins are a good thing to have and equally important, interactive txs may give a user full control over their wallet. Noninteractive txs only allow you to control what you move out from your wallet while interactive txs add a possibility to control also what moves into your wallet (we don’t do that now). I find it really weird that the whole space thinks partial wallet control is fine. I’d prefer to actually own a wallet in every meaning of the word. This would also get rid of dusting attacks and help mitigate utxo spoofing methods with payjoins. Also, since lightning is interactive, the UX of interactive txs will need to be solved somehow.

1 Like

I like the idea of embracing the unique properties of Mimblewimble, and not adding baggage to try to make it into something it’s not. If we apply the same idea to the question of how to obfuscate the transaction graph, then we might come up with some aggregation services, as an alternative to Dandelion.

You would send your non-urgent transaction (by TOR) to an aggregation service that you trust (e.g. run by the core devs, or by David Burkett), and they would await sufficient aggregation (I think any number significantly larger than 11 would do:-) before being published.

Yes, there is a small risk that the aggregation service is compromised, and your original tx is visible to someone, but this is no worse than the current situation, and the there’s a good chance that the situation will be much better…

1 Like

I agree. This sounds very similar to GrinJoin - @David what’s the status of that? Is it in operation currently? Over Tor? Is it opt-in? Do you have any usage stats?

1 Like


I don’t disagree on this… but… at the same time, I can’t count how many hours we have invested giving support to Grin++ users from countries like China, because their addresses are not green (= available)… but the Censorship isn’t just in China, also Venezuela, Iran and other countries. Relying on third-party project (Tor) may not be ideal, we don’t know how many 0days are out there or which bridges are compromised by bad actors, also, bypassing censorship is getting harder and harder… but maybe that’s the only option we have right now. I’m pretty sure things are going to be better after the next HF, but also because of the effort @Paouky is doing documenting Grin, I’m expecting more people to get involved in grin soon.

Me too and I think is really important.

1 Like

When Tor is not available, some other medium (like Dandelion stem phase) can perhaps be used to send a tx to an aggregation service.

I’d really, really like to see an easy way to do Dandelion stem phase aggregation. If I wanted to do so right now (I do want) I’d have to ask users to enter my aggregation node as the only allowed peer connection. That’s the only way to guarantee I’ll receive their stem tx.

This UX hurdle basically the only thing holding me back from trying it.

Have you looked at the Objective-Dandelion idea? I think it’s neat, but it might need some fixing because it’s more likely to give away the source of the tx with this modification. The issue is that the order of ‘stem path nodes’ is increasing in terms of ‘score’ so if you get a tx from a node with a low score, it’s likely they are the source. I think it can be fixed so it’s probably not a big issue.