0.8.4-alpha.9653 • Published 3 years ago

@castframework/oracles v0.8.4-alpha.9653

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
3 years ago

Forge Oracle

NodeJS Oracle to interact with Forge Smart Contracts on Blockchains. Only Ethereum is supported at the moment.
It can:

  • Listen to blockchain events
  • Send transactions to blockchain

This project leverage the power of NestJS to expose a GraphQL API to communicate with Blockchains.

Folder structure

.
├── forge
│    ├── constants
│    ├── decorators     
│    ├── ethUtils       Utility code for ethereum
│    ├── filters        Global exception catchers
│    ├── guards         Authentication verification
│    ├── modules
│    │   ├── fio 
│    │   ├── fmo
│    │   ├── fro
│    │   ├── fso
│    │   └── str
│    ├── shared         Code shared between all modules
│    └── utils          Utility code
└── test
    ├── e2e              End to end tests
    ├── postman          Postman collections
    └── unit             Unit tests

Run locally

docker-compose -f docker-compose.dev.yml up -d

Note: If you modify dependencies, you may have to re-build the Docker image:

docker-compose -f docker-compose.dev.yml build

License

https://www.societegenerale.com/fr/mentions-legales