Transthereum
Exploring a ganache-cli blockchain node during development in etherscan style
Install / Use
/learn @unibrightIO/TransthereumREADME
Transthereum - Unibright Freequity Blockchain Explorer
Exploring a ganache-cli blockchain node during development in etherscan style.
This project was developed during a hackathon in Unibright to serve the purpose of exploring our ganache-cli blockchain node during development of Unibright Freequity decentralized exchange. We decided to build it because we could not find a good tool to help us visually track the transactions in ganache-cli. This is also why we decided to open-source it. It is not optimized to be used against a real network (Ropsten, Rinkeby) because of large number of blocks, as those network already have mature explorers. It contains functionalities Unibright devs need during development, examples of implementation of some key features needed when querying the blockchain and can serve as a playground for experimenting.
The project consist of a Dotnet Core backend and Angular frontend and relies on the Nethereum library to talk to the blockchain.
Features
Get latest blocks
Get block by height
Get latest transactions
Get transaction by hash
Get address with transactions and token balances
Parse transaction inputs*
*Parsing of transaction inputs in order to get specific Unibright Freequity trade information.Easily extensible for different purposes. For details, have a look at ITransactionParser.cs and its implementation.
Running
Prerequisites: dotnet core 2.2 and nodejs 12.x
Run dotnet run in the root\backend folder.
Run npm i followed by npm run start in the root\frontend folder.
Configuration
Located in the appsettings.json
"BlockchainURL": "ganache-cli url"
"ExchangeContractAddress": "Contract address for which we want to parse inputs"
"AbiFilename": "Contract abi for which we want to parse inputs"
"Tokens": [
{
"Address": "Contract address of the token we want to query for balances"
"Name": "Token name"
"Symbol": "Token symbol"
"DecimalPlaces": "Token decimal places"
"MarketId": "Id of the Unibright Freequity market related to this token"
"TraderContractAddress": "Contract address of the contract in charge of trading on this market"
}]
Related Skills
node-connect
337.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.1kCommit, push, and open a PR
