2.7.0 • Published 11 months ago
@enigma.art/smart-contracts v2.7.0
@enigma.art/smart-contracts
Typechain files intended to be used to integrate with the Enigma Art Smart contracts solution.
To start using these typings, import its type, its factory and connect it using a provider and the address of the contract you are trying to connect to like so:
import { EnigmaUserToken1155, EnigmaUserToken1155__factory } from "@enigma.art/smart-contracts";
const enigmaUserToken: EnigmaUserToken1155 = EnigmaUserToken1155__factory.connect(
"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
signer,
);