Skip to content
整理了eosjs常用代码
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
bintojson.js
buyram.js
clear_contract.js
create_account.js
delegatebw.js
deploy.js
eosClient.js
generate_key.js
keys.json
package-lock.json
package.json
query_account.js
query_balance.js
refund.js
rpc.json
sellram.js
transfer.js
undelegatebw.js
updateauth.js
vote.js

README.md

eosjs Startup

简介

eosjs Startup 整理了eosjs常用代码,包括创建、查询EOS账号,EOS转账,购买RAM,出售RAM,抵押资源,取消抵押资源,生成密钥对等。

前提

前提是安装了eosjs

在此工程目录下,安装 eosjs

    npm i eosjs

使用方法

首先,在 keys.json 中添加私钥。然后对相应程序的参数进行修改。

js代码运行方式为:

    node query_account.js
You can’t perform that action at this time.