Compare commits
No commits in common. "de38a683d5bbcebad572cd161f701190dc3653f5" and "371e7417ce740b1e838f851e70093ad862141bc7" have entirely different histories.
de38a683d5
...
371e7417ce
@ -30,8 +30,7 @@ Go to [localhost:3000](http://localhost:3000).
|
||||
- Clone the repo
|
||||
- ssh: `git clone git@github.com:stackernews/stacker.news.git`
|
||||
- https: `git clone https://github.com/stackernews/stacker.news.git`
|
||||
- Install [docker](https://docs.docker.com/compose/install/)
|
||||
- Please make sure that at least 10 GB of free space is available, otherwise you may encounter issues while setting up the development environment.
|
||||
- Install [docker](https://docs.docker.com/get-docker/)
|
||||
|
||||
<br>
|
||||
|
||||
|
@ -383,7 +383,6 @@ export default {
|
||||
${relationClause(type)}
|
||||
${whereClause(
|
||||
'"Item"."deletedAt" IS NULL',
|
||||
type === 'posts' && '"Item"."subName" IS NOT NULL',
|
||||
subClause(sub, 5, subClauseTable(type), me, showNsfw),
|
||||
typeClause(type),
|
||||
whenClause(when, 'Item'),
|
||||
|
@ -18,7 +18,7 @@ felipebueno,pr,#948,,,,,,100k,felipe@stacker.news,2024-03-26
|
||||
benalleng,pr,#972,#923,good-first-issue,,,,20k,BenAllenG@stacker.news,2024-03-26
|
||||
SatsAllDay,issue,#972,#923,good-first-issue,,,,2k,weareallsatoshi@getalby.com,2024-03-26
|
||||
felipebueno,pr,#974,#884,good-first-issue,,,,20k,felipe@stacker.news,2024-03-26
|
||||
h0dlr,issue,#974,#884,good-first-issue,,,,2k,HODLR@stacker.news,2024-04-04
|
||||
h0dlr,issue,#974,#884,good-first-issue,,,,2k,0xe14b9b5981c729a3@ln.tips,2024-04-04
|
||||
benalleng,pr,#975,,,,,,20k,BenAllenG@stacker.news,2024-03-26
|
||||
SatsAllDay,security,#980,GHSA-qg4g-m4xq-695p,,,,,100k,weareallsatoshi@getalby.com,2024-03-28
|
||||
SatsAllDay,code review,#980,GHSA-qg4g-m4xq-695p,medium,,,,25k,weareallsatoshi@getalby.com,2024-03-28
|
||||
|
|
@ -5,7 +5,6 @@ export const CURRENCY_SYMBOLS = {
|
||||
GBP: '£',
|
||||
USD: '$',
|
||||
NZD: '$',
|
||||
NGN: '₦',
|
||||
ZAR: 'R '
|
||||
}
|
||||
|
||||
|
@ -197,7 +197,7 @@ The first argument is the [BOLT11 payment request](https://github.com/lightning/
|
||||
|
||||
### server.js
|
||||
|
||||
A wallet that supports receiving must export the following properties in server.js which are only available if this wallet is imported on the server:
|
||||
A wallet that supports receiving file must export the following properties in server.js which are only available if this wallet is imported on the server:
|
||||
|
||||
- `testConnectServer: async (config, context) => Promise<void>`
|
||||
|
||||
@ -205,11 +205,11 @@ A wallet that supports receiving must export the following properties in server.
|
||||
|
||||
It should attempt to create a test invoice to make sure that this wallet can later create invoices for receiving.
|
||||
|
||||
Again, like `testConnectClient`, the first argument is the wallet configuration that we should validate and this should thrown an error if validation fails. However, unlike `testConnectClient`, the `context` argument here contains `me` (the user object) and `models` (the Prisma client).
|
||||
Again, like `testConnectClient`, the first argument is the wallet configuration that we should validate. However, unlike `testConnectClient`, the `context` argument here contains `me` (the user object) and `models` (the Prisma client).
|
||||
|
||||
- `createInvoice: async (amount: int, config, context) => Promise<bolt11: string>`
|
||||
|
||||
`createInvoice` will be called whenever this wallet should receive a payment. It should return a BOLT11 payment request. The first argument `amount` specifies the amount in satoshis. The second argument `config` is the current configuration of this wallet. The third argument `context` is the same as in `testConnectServer` except it also includes `lnd` which is the return value of [`authenticatedLndGrpc`](https://github.com/alexbosworth/ln-service?tab=readme-ov-file#authenticatedlndgrpc) using the SN node credentials.
|
||||
`createInvoice` will be called whenever this wallet should receive a payment. The first argument `amount` specifies the amount in satoshis. The second argument `config` is the current configuration of this wallet. The third argument `context` is the same as in `testConnectServer` except it also includes `lnd` which is the return value of [`authenticatedLndGrpc`](https://github.com/alexbosworth/ln-service?tab=readme-ov-file#authenticatedlndgrpc) using the SN node credentials.
|
||||
|
||||
|
||||
> [!IMPORTANT]
|
||||
|
Loading…
x
Reference in New Issue
Block a user