UNPKG
custom-golos-js
Version:
latest (0.7.4-2)
0.7.4-2
0.7.4-1
0.7.4-0
0.7.3
0.7.3-4
0.7.3-2
0.7.3-1
0.7.3-0
Golos.js the JavaScript API for Golos blockchain
github.com/GolosChain/golos-js
GolosChain/golos-js
custom-golos-js
/
lib
/
config.js
14 lines
(12 loc)
•
291 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict'
;
var
defaultConfig =
require
(
'../config.json'
);
module
.
exports
=
function
(
) {
var
config = defaultConfig;
var
get =
function
get
(
key
) {
return
config[key]; };
var
set =
function
set
(
key, value
) { config[key] = value; };
return
{
get
: get,
set
: set }; }();