-
Notifications
You must be signed in to change notification settings - Fork 0
/
bundlr.config.js
79 lines (78 loc) · 2.42 KB
/
bundlr.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import * as dotenv from 'dotenv' // see https://github.com/motdotla/dotenv#how-do-i-use-dotenv-with-import
dotenv.config()
export default {
title: "This is my title",
description: "and my description",
permaweb_url: "https://arweave.net",
wallet: {
key: process.env.WALLET_KEY
},
app: {
name: "Bundlr Demo",
version: "0.1.1",
contentType: "text/html"
},
env: {
dev: {
permaweb: {
gateway: "https://devnet.bundlr.network",
url: "https://arweave.net"
},
net: {
currency: "matic",
rpc: "https://rpc-mumbai.maticvigil.com",
explorer: "https://mumbai.polygonscan.com"
}
},
test: {
gateway: "",
currency: "",
rpc: ""
},
prod:
{
gateway: "https://arweave.net",
net: {
currency: "matic",
rpc: "matic-rpc.com",
explorer: ""
}
}
},
data: {
path: "./src/assets/payload.json",
payload: {
hello: "mastermind",
you: "are already well on your way",
to: "becoming an Arweave Zen Master",
dont: "give up now",
keep: "going until you reach the finish line",
remeber: "to reach out for help if you get stuck",
us: "devs have to stick together",
and: "remember",
no: {
person: {
is: {
an: "island"
}
}
}
},
title: "Demo Bundlr network data set",
description: "This is an example of what it looks like to upload a data object/payload to the arweave permaweb via the Bundlr Development network",
},
file: {
path: "./src/assets/majestic.jpeg",
title: "Demo Bundlr Network File",
description: "This is an example of what it looks like to upload a single image to the arweave permaweb using the Bundlr Development network"
},
folder: {
path: "./src/assets/collection",
title: "Demo Bundlr Network Folder",
description: "This is an example folder upload to the arweave permaweb using the Bundlr Development network",
contentType: "text/html"
},
fund: {
amount: 4_442_242
}
}