Create custom Object
A custom project is a project wich only depends on dappkit (and dappkit-launcher) to complement its own Solidity contracts.
Last updated
A custom project is a project wich only depends on dappkit (and dappkit-launcher) to complement its own Solidity contracts.
Last updated
Dependencies
@taikai/dappkit will be used to provide the user with proxies for common contracts, along with a Web3Connection, and @taikai/dappkit-launchpad will be responsible for transpiling your custom contract into something understandable by @taikai/dappkit.
Compiling your contracts
Both truffle and hardhat will provide a ContractName.json
file wich holds the ABI and bytecode for the contract
Truffle
Hardhat
Depending on your configuration (and contract) this will output a extension of the class, with the methods loaded in, and with the name of the file matching the name of the contract.
@taikai/dappkit-launchpad made a custom proxy from the coded that was provided, but this proxy can be futher customized - by hand.
Just open the ./path/to/CustomContract
and add more functions, or add a customization to the super.start
that loads information for a custom API: