v12.0.0 - initial commit
This commit is contained in:
commit
e2c49ea43c
1145 changed files with 97211 additions and 0 deletions
12
packages/server/lib/plugins/wallet/trongrid/trongrid.js
Normal file
12
packages/server/lib/plugins/wallet/trongrid/trongrid.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const _ = require('lodash/fp')
|
||||
const base = require('../tron/base')
|
||||
|
||||
const NAME = 'trongrid'
|
||||
|
||||
function run(account) {
|
||||
const endpoint = 'https://api.trongrid.io'
|
||||
|
||||
base.connect({ ...account, endpoint })
|
||||
}
|
||||
|
||||
module.exports = _.merge(base, { NAME, run })
|
||||
Loading…
Add table
Add a link
Reference in a new issue