npm install
npm run test
- Node.js,
>=7.6.0
- Golang
1.11+
There's an interactive CLI in the go folder that can be used to deploy and interact with the contacts on the network of your choosing. Just run go run main.go
in that directory, or build your own with go build
You can also use truffle to deploy, just run: truffle migrate --network {your_network}
The Marketplace
contract will hold all information regarding the Gladius Marketplace. This includes which pools are added to the marketplace and who the owners are. In addition the Marketplace
has the ability to create and track all pools via the Pool Factory contract.
The PoolFactory
contract creates and tracks Pool
contracts. Pool
contracts contain information regarding the P2P network, application server, etc... . We use a factory pattern to create Pool
's because it allows us to be more flexible with deploying contacts.