https://github.com/micovi/zilliqa-isolated-server
https://github.com/micovi/zilliqa-isolated-server
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/micovi/zilliqa-isolated-server
- Owner: micovi
- Created: 2020-01-26T15:17:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T03:15:35.000Z (over 2 years ago)
- Last Synced: 2025-01-16T11:32:15.440Z (6 months ago)
- Language: JavaScript
- Size: 352 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerized Zilliqa Isolated Server
Based on https://github.com/Zilliqa/Zilliqa/pull/1879
`boot.json` contains default accounts
Build image
```docker build --rm -f "Dockerfile" -t isolatedserver:1 "."```
Run by
`docker run -d -p 5555:5555 isolatedserver:1`
Server will be accessible on `http://localhost:5555`
Available APIs
- `CreateTransaction` : Input a transaction json payload
- `IncreaseBlocknum` : Increase the blocknum by a given input
- `GetSmartContractSubState` : Get the state of a smart contract
- `GetSmartContractCode` : Get code at a given address
- `GetMinimumGasPrice` : Get the minimum gas price
- `SetMinimumGasPrice`: Set the minimum gas price
- `GetBalance`: Get balance and nonce of a account
- `GetSmartContracts`: get smart contract for an address
- `GetNetworkID`
- `GetSmartContractInit` : get init json for a SC.
- `GetTransaction `: Get Transaction info by hash