evm-deployer 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,174 @@
1
+ #!/usr/bin/env node
2
+
3
+ // SPDX-License-Identifier: AGPL-3.0-or-later
4
+
5
+ /** ----------------------------------------------------------------
6
+ * libevm-wallet
7
+ * ----------------------------------------------------------------
8
+ * Copyright ©
9
+ * Pellegrino Prevete
10
+ * 2025, 2026
11
+ *
12
+ * All rights reserved
13
+ * ----------------------------------------------------------------
14
+ *
15
+ * This program is free software: you can redistribute it and/or
16
+ * modify it under the terms of the GNU General Public License as
17
+ * published by the Free Software Foundation, either version 3 of
18
+ * the License, or (at your option) any later version.
19
+ *
20
+ * This program is distributed in the hope that it will be useful,
21
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
+ * GNU General Public License for more details.
24
+ *
25
+ * You should have received a copy of the
26
+ * GNU General Public License
27
+ * along with this program.
28
+ * If not, see <https://www.gnu.org/licenses/>.
29
+ */
30
+
31
+ /* eslint-disable
32
+ no-unused-vars */
33
+
34
+ /* Crash Javascript global variables */
35
+ /* global
36
+ quiet */
37
+
38
+ const
39
+ _crash_js_module =
40
+ require(
41
+ "crash-js");
42
+ /* global
43
+ _cat */
44
+ const
45
+ _cat =
46
+ _crash_js_module._cat;
47
+ /* global
48
+ _file_exists */
49
+ const
50
+ _file_exists =
51
+ _crash_js_module._file_exists;
52
+ /* global
53
+ _mkdir */
54
+ const
55
+ _mkdir =
56
+ _crash_js_module._mkdir;
57
+ /* global
58
+ _msg_info */
59
+ const
60
+ _msg_info =
61
+ _crash_js_module._msg_info;
62
+ /* global
63
+ _msg_error */
64
+ const
65
+ _msg_error =
66
+ _crash_js_module._msg_error;
67
+ /* global
68
+ _path_join */
69
+ const
70
+ _path_join =
71
+ _crash_js_module._path_join;
72
+ /* global
73
+ _stat */
74
+ const
75
+ _stat =
76
+ _crash_js_module._stat;
77
+ const
78
+ _evm_chains_info_module =
79
+ require(
80
+ "evm-chains-info");
81
+ /* global
82
+ _evm_chains_info */
83
+ const
84
+ _evm_chains_info =
85
+ _evm_chains_info_module._evm_chains_info;
86
+ const
87
+ _evm_wallet_module =
88
+ require(
89
+ "evm-wallet.js");
90
+ /* global
91
+ _address_get */
92
+ const
93
+ _address_get =
94
+ _evm_wallet_module._address_get;
95
+ /* global
96
+ _balance_check */
97
+ const
98
+ _balance_check =
99
+ _evm_wallet_module._balance_check;
100
+ /* global
101
+ _msg_error_balance_insufficient */
102
+ const
103
+ _msg_error_balance_insufficient =
104
+ _evm_wallet_module._msg_error_balance_insufficient;
105
+ /* global
106
+ _balance_get */
107
+ const
108
+ _balance_get =
109
+ _evm_wallet_module._balance_get;
110
+ /* global
111
+ _balance_send */
112
+ const
113
+ _balance_send =
114
+ _evm_wallet_module._balance_send;
115
+ /* global
116
+ _block_number_get_get */
117
+ const
118
+ _block_number_get =
119
+ _evm_wallet_module._block_number_get;
120
+ /* global
121
+ _ethers_to_wei */
122
+ const
123
+ _ethers_to_wei =
124
+ _evm_wallet_module._ethers_to_wei;
125
+ /* global
126
+ _provider_get */
127
+ const
128
+ _provider_get =
129
+ _evm_wallet_module._provider_get;
130
+ /* global
131
+ _msg_info_provider_generated */
132
+ const
133
+ _msg_info_provider_generated =
134
+ _evm_wallet_module._msg_info_provider_generated;
135
+ /* global
136
+ _price_gas_get */
137
+ const
138
+ _price_gas_get =
139
+ _evm_wallet_module._price_gas_get;
140
+ /* global
141
+ _price_gas_transaction_get */
142
+ const
143
+ _price_gas_transaction_get =
144
+ _evm_wallet_module._price_gas_transaction_get;
145
+ /* global
146
+ _seed_new */
147
+ const
148
+ _seed_new =
149
+ _evm_wallet_module._seed_new;
150
+ /* global
151
+ _wallet_get */
152
+ const
153
+ _wallet_get =
154
+ _evm_wallet_module._wallet_get;
155
+ /* global
156
+ _wallet_new */
157
+ const
158
+ _wallet_new =
159
+ _evm_wallet_module._wallet_new;
160
+
161
+ const
162
+ _deployer_module =
163
+ require(
164
+ "./lib/deployer");
165
+ /* global
166
+ _evm_deployer */
167
+ const
168
+ _evm_deployer =
169
+ _evm_deployer_module._evm_deployer;
170
+
171
+ module.exports = {
172
+ _evm_deployer:
173
+ _evm_deployer
174
+ };
package/package.json ADDED
@@ -0,0 +1,134 @@
1
+ { "name": "evm-deployer",
2
+ "version":
3
+ "0.0.1",
4
+ "description":
5
+ "Solidity smart contracts deployer for Ethereum Virtual Machine (EVM) compatible blockchain networks.",
6
+ "funding": {
7
+ "type":
8
+ "patreon",
9
+ "url":
10
+ "https://patreon.com/tallero"
11
+ },
12
+ "man": [
13
+ "./man/evm-deployer.1"
14
+ ],
15
+ "files": [
16
+ "AUTHORS.rst",
17
+ "COPYING",
18
+ "README.md",
19
+ "dist",
20
+ "lib",
21
+ "libevm-deployer",
22
+ "libevm-deployer.webpack.config.js",
23
+ "evm-deployer",
24
+ "fs-worker.webpack.config.js",
25
+ "package.json",
26
+ "serve.json",
27
+ "webpack.config.js"
28
+ ],
29
+ "keywords": [
30
+ "ur",
31
+ "themartiancompany",
32
+ "dogeos",
33
+ "ethereum"
34
+ ],
35
+ "homepage":
36
+ "https://github.com/themartiancompany/evm-deployer",
37
+ "bugs": {
38
+ "url":
39
+ "https://github.com/themartiancompany/evm-deployer.js/issues"
40
+ },
41
+ "repository": {
42
+ "type":
43
+ "git",
44
+ "url":
45
+ "git+https://github.com/themartiancompany/evm-deployer.js.git"
46
+ },
47
+ "license":
48
+ "AGPL-3.0-or-later",
49
+ "author": {
50
+ "name":
51
+ "Pellegrino Prevete",
52
+ "email":
53
+ "pellegrinoprevete@gmail.com",
54
+ "url":
55
+ "https://github.com/tallero"
56
+ },
57
+ "devDependencies": {
58
+ "crash-js-webpack":
59
+ "^0.0.10",
60
+ "flatted":
61
+ "^3.2.9",
62
+ "eslint":
63
+ "^10.0.3",
64
+ "globals":
65
+ "^17.3.0",
66
+ "@eslint/js":
67
+ "^10.0.1",
68
+ "safely-serve":
69
+ "^0.0.9",
70
+ "webpack":
71
+ "^5.102.1",
72
+ "webpack-cli":
73
+ "^6.0.1"
74
+ },
75
+ "dependencies": {
76
+ "crash-js":
77
+ "^0.1.111",
78
+ "ethers":
79
+ "^6.13.2",
80
+ "evm-chains-info":
81
+ "^0.0.22",
82
+ "evm-wallet.js":
83
+ "^0.0.45",
84
+ "libevm":
85
+ "^0.0.26",
86
+ "yargs":
87
+ "18.0.0"
88
+ },
89
+ "optionalDependencies": {
90
+ },
91
+ "overrides": {
92
+ "evm-deployer":
93
+ "^0.0.1",
94
+ "evm-wallet.js":
95
+ "^0.0.45",
96
+ "evm-chains-info":
97
+ "^0.0.22",
98
+ "libevm":
99
+ "^0.0.26"
100
+ },
101
+ "type":
102
+ "commonjs",
103
+ "main":
104
+ "libevm-deployer",
105
+ "bin":
106
+ {
107
+ "evm-deployer":
108
+ "evm-deployer"
109
+ },
110
+ "yargs": {
111
+ "parse-numbers":
112
+ false,
113
+ "parse-positional-numbers":
114
+ false
115
+ },
116
+ "scripts": {
117
+ "build-bin":
118
+ "npx webpack --mode 'production' --config 'webpack.config.cjs' --stats-error-details && mv 'evm-deployer.js' 'dist/evm-deployer'",
119
+ "build-fs-worker":
120
+ "npx webpack --mode 'production' --config 'fs-worker.webpack.config.cjs' --stats-error-details && cp 'fs-worker.js' 'dist/evm-deployer' && cp 'fs-worker.js' 'dist/libevm-deployer'",
121
+ "build-lib":
122
+ "npx webpack --mode 'production' --config 'libevm-deployer.webpack.config.cjs' --stats-error-details && mv 'libevm-deployer.js' 'dist/libevm-deployer'",
123
+ "build":
124
+ "npm run lint && npm run build-fs-worker && npm run build-lib && npm run build-bin",
125
+ "lint":
126
+ "npx eslint .",
127
+ "publish-pnm":
128
+ "npm run build && npm publish --access public",
129
+ "start":
130
+ "npx safely-serve 'dist/evm-deployer' --port 3000 --https --no-cache",
131
+ "test":
132
+ "echo \"Error: no test specified\" && exit 1"
133
+ }
134
+ }