Skip to content

cadut generate api : global address map  #61

@hotrungnhan

Description

@hotrungnhan

It might be better if we can pass a object as the following to setting up all the contract addresses once, instead of passing it every time we invoke.

example :

const globalAddressMap= {
  emulator:{
    SomeContract :"some address"
  },
  testnet:{
    SomeContract :"some address"
  },
  production:{
    SomeContract :"some address"
  }
}
cadut.setGlobalAddressMap(globalAddressMap)

and then cadut will decide to use address map network depend on environment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions