Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chase-allen-tech/eos-trade
https://github.com/chase-allen-tech/eos-trade
blockchain eos eosjs jungle nodejs ubuntu
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/chase-allen-tech/eos-trade
- Owner: chase-allen-tech
- Created: 2021-07-22T07:49:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-02T14:59:14.000Z (over 3 years ago)
- Last Synced: 2024-11-06T04:40:19.537Z (3 months ago)
- Topics: blockchain, eos, eosjs, jungle, nodejs, ubuntu
- Language: JavaScript
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
To use wallet in your local machine, run the following commands.
cleos wallet create --to-console
This will show you the unlock public key. Keep that key.
Now unlock the wallet using the commands.cleos wallet unlock
(Enter the public key)Now you can run your project.
In setting.js file, replace the PUBLIC_KEY, PRIVATE_KEY, MY_ACCOUNT_NAME to your own account in the network.
To run nodeos in your local machine, run the following 2 commands.
pkill keosd
keosd &
nodeos -e -p eosio \
--plugin eosio::producer_plugin \
--plugin eosio::producer_api_plugin \
--plugin eosio::chain_api_plugin \
--plugin eosio::http_plugin \
--plugin eosio::history_plugin \
--plugin eosio::history_api_plugin \
--filter-on="*" \
--access-control-allow-origin='*' \
--contracts-console \
--http-validate-host=false \
--verbose-http-errors >> nodeos.log 2>&1 &To increase the CPU/RAM bandwidth type the following.
cleos wallet unlock
cleos wallet import
(key)
cleos --url https://api.jungle3.alohaeos.com system buyram adminadmin11 lioninjungle -k 2000
cleos --url https://api.jungle3.alohaeos.com system delegatebw adminadmin11 lioninjungle "1 EOS" "1 EOS"