Skip to content

Commit

Permalink
Merge pull request #1071 from golemfactory/docs/JST-1080/deposit-example
Browse files Browse the repository at this point in the history
docs(deposit): added example demonstrating the use of allocation with deposit
  • Loading branch information
mgordel authored Sep 6, 2024
2 parents d3a922b + 22239e0 commit 19633b6
Show file tree
Hide file tree
Showing 8 changed files with 1,681 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"@golem-sdk/pino-logger": "^1.0.2",
"commander": "^12.0.0",
"express": "^4.18.2",
"tsx": "^4.7.1"
"tsx": "^4.7.1",
"viem": "^2.21.1"
},
"devDependencies": {
"@types/node": "20",
Expand Down
14 changes: 14 additions & 0 deletions examples/rental-model/advanced/deposit/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export default {
funder: {
address: "0x00",
privateKey: "0x00",
nonceSpace: 1000000,
},
rpcUrl: "https://holesky.rpc-node.dev.golem.network",
lockPaymentContract: {
holeskyAddress: "0x63704675f72A47a7a183112700Cb48d4B0A94332",
},
glmContract: {
holeskyAddress: "0x8888888815bf4DB87e57B609A50f938311EEd068",
},
};
Loading

0 comments on commit 19633b6

Please sign in to comment.