Closed Jake-Gillberg closed 5 years ago
lib
is configurable by an environment variable DAPP_LIB
so this won't work in general
We have https://github.com/dapphub/dappsys-monolithic which is usable in a truffle project, maybe we should just add ds-proxy to that.
Or consider using dapp
for the circles work.
Considered using dapp
for the circles work, but we wanted js tests to do things like this: https://github.com/CirclesUBI/circles-contracts/blob/master/test/TimeIssuedToken.test.js#L29
@Jake-Gillberg ds-proxy is now in https://github.com/dapphub/dappsys-monolithic, which I assume will fix your usage problem (? :)), so I'll close this.
I know this messes up the beautified import statements, but this way I can add ds-proxy as a submodule to a truffle project and everything works swimmingly. It also doesn't appear to mess with
dapp build
ordapp test
. Example project here: https://github.com/CirclesUBI/circles-contracts/tree/test-circles-person