Aragon Wallet Provider
This is a wallet provider for Smart Organizations made with Aragon. It can be used anywhere you can inject a provider to allow you to act as the Smart Organization. It can be used in a truffle configuration, and can be concatenated with itself to path a transaction through several Smart Organizations.
Truffle Usage
You can easily use this within a Truffle configuration. For instance:
truffle-config.js
const Web3WsProvider = const AragonProvider = let developmentProvider developmentDAO = {} developmentProvider = `ws://localhost:8545`const providerForNetwork = { return developmentProvider "0x5f6f7e8cc7346a11ca2def8f827b7a0b612c56a1" "0xCb0FF465e3847606603A51cc946353A41Fea54c0" "0x037D0f69250A5B21c8902c9efd71f467Df8680bE" } moduleexports = networks: development: network_id: '*' provider: developmentProvider app: provider: network_id: '*'
Parameters
subProvider
:provider
. The provider making the underlying calls. This can be another Aragon provider if you want to path a transaction through multiple daos.ens
:address
. The ethereum address of the ens for the dao.dao
:address
. The ethereum address for the daoforwardingAddress
:address
, The address that will be the final address executing transactions sent.