Skip to content

Commit 4f6331e

Browse files
committed
🎉first commit
1 parent ba40bc1 commit 4f6331e

12 files changed

+2195
-0
lines changed

‎.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,6 @@ dist
102102

103103
# TernJS port file
104104
.tern-port
105+
106+
testwallet.json
107+
bin/

‎.prettierrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 120,
3+
"trailingComma": "all",
4+
"singleQuote": true
5+
}

‎README.md

+40
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,42 @@
11
# arkb
22
Arweave Deploy that saves you some data costs.
3+
4+
```
5+
?88 ?88
6+
88b 88b
7+
d888b8b 88bd88b 888 d88' 888888b
8+
d8P' ?88 88P' ` 888bd8P' 88P `?8b
9+
88b ,88b d88 d88888b d88, d88
10+
`?88P'`88bd88' d88' `?88b,d88'`?88P'
11+
12+
13+
14+
Usage: arkb [options] [command]
15+
16+
Options Description
17+
-v --version Show the version number
18+
--host Set the network hostname or ip
19+
--protocol Set the network protocol (http or https)
20+
--port Set the netwrok port
21+
--timeout Set the request timeout
22+
--wallet Set the key file path
23+
--debug Display additional logging
24+
-h --help Display this message
25+
26+
Commands Description
27+
deploy <dir_path> [options] Deploy a directory
28+
status <tx_id> Check the status of a transaction ID
29+
balance Get the current balance of your wallet
30+
network Get the current network info
31+
wallet-save <wallet_file_path> Save a wallet to remove the need for the --wallet option
32+
wallet-export Decrypt and export the saved wallet file
33+
wallet-forget Forget your saved wallet file
34+
35+
Examples
36+
Without saving a wallet:
37+
arkb deploy folder/path/ --wallet path/to/my/wallet.json
38+
39+
Saving a wallet:
40+
arkb wallet-save path/to/wallet.json
41+
arkb deploy folder/path/
42+
```

‎package.json

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"name": "arkb",
3+
"version": "1.0.0",
4+
"main": "./bin/app.js",
5+
"repository": "https://github.com/cedriking/arkb.git",
6+
"author": "Cedrik <[email protected]>",
7+
"license": "GPLv3",
8+
"files": [
9+
"bin/**/*"
10+
],
11+
"bin": {
12+
"arkb": "./bin/app.js"
13+
},
14+
"scripts": {
15+
"start": "ts-node src/app.ts",
16+
"build": "tsc -p .",
17+
"format": "prettier --write \"src/**/*.ts\"",
18+
"lint": "tslint -p tslint.json"
19+
},
20+
"dependencies": {
21+
"arweave": "^1.9.1",
22+
"chalk": "^4.1.0",
23+
"clear": "^0.1.0",
24+
"clui": "^0.3.6",
25+
"community-js": "^1.0.15",
26+
"conf": "^7.1.2",
27+
"fast-glob": "^3.2.4",
28+
"figlet": "^1.5.0",
29+
"inquirer": "^7.3.3",
30+
"mime": "^2.4.6",
31+
"minimist": "^1.2.5"
32+
},
33+
"devDependencies": {
34+
"@types/clear": "^0.1.0",
35+
"@types/concat-stream": "^1.6.0",
36+
"@types/figlet": "^1.2.0",
37+
"@types/inquirer": "^7.3.1",
38+
"@types/mime": "^2.0.3",
39+
"@types/minimist": "^1.2.0",
40+
"@types/node": "^14.10.2",
41+
"concat-stream": "^2.0.0",
42+
"esbuild": "^0.7.1",
43+
"prettier": "^2.1.2",
44+
"ts-node": "^9.0.0",
45+
"tslint": "^6.1.3",
46+
"tslint-config-prettier": "^1.18.0",
47+
"typescript": "^4.0.2"
48+
}
49+
}

0 commit comments

Comments
 (0)