fairDataSociety / fdp-contracts

Fair Data Protocol smart contracts and its utilities
4 stars 1 forks source link

fix(contract): generate .env output for use with dapps using fdp-storage #52

Closed molekilla closed 2 years ago

molekilla commented 2 years ago
          Generated .env for ReactJS

REACT_APP_RPC_URL=http://localhost:9545 REACT_APP_BEE_DEBUG_URL=http://localhost:1635 REACT_APP_BEE_URL=http://localhost:1633 REACT_APP_PUBLIC_RESOLVER_ADDRESS=0xFF6049B87215476aBf744eaA3a476cBAd46fB1cA REACT_APP_ENS_REGISTRY_ADDRESS=0xaD888d0Ade988EbEe74B8D4F39BF29a8d0fe8A8D REACT_APP_SUBDOMAIN_REGISTRAR_ADDRESS=0x7C728214be9A0049e6a86f2137ec61030D0AA964

Screenshot from 2022-07-11 09-48-34

molekilla commented 2 years ago

Related issues

https://github.com/fairDataSociety/fdp-create-account/issues/1

https://github.com/fairDataSociety/fdp-contracts/issues/51

nugaon commented 2 years ago

the problem with this is that it does not keep the interfaces for the contracts that we are working with. In other words, we need not only the contract addresses, but its interfaces as well -> the artifacts.

molekilla commented 2 years ago

https://github.com/dethcrypto/TypeChain We should then add typechain to fdp-contracts deployment