0.1.4 • Published 7 years ago
@josojo/tokenized-events v0.1.4
RealityToken
Collection of smart contracts that form the basis of the RealityToken ecosystem.
Audit
Audit Report:
Install
Install requirements with npm:
npm installTesting
Start the TestRPC with bigger funding than usual, which is required for the tests:
truffle testPlease install at least node version >=7 for async/await for a correct execution
Run all tests
truffle test -sThe flag -s runs the tests in a silence mode. Additionally the flag -g can be added to plot the gas costs per test.
Compile and Deploy
These commands apply to the RPC provider running on port 8545. You may want to have TestRPC running in the background. They are really wrappers around the corresponding Truffle commands.
Compile all contracts to obtain ABI and bytecode:
truffle compile --allMigrate all contracts:
truffle migrate --network NETWORK-NAMEDocumentation
Please see the attached realitytoken.pdf