Besides deploying a smart contract to a new address, you can also link a smart contract to an existing instance.
The effect of linking a smart contract to an address in MultiBaas tells MultiBaas that the bytecode on the blockchain at that address can be interacted with via the methods in that smart contract.
One feature of MultiBaas is that multiple smart contracts (really, their ABIs) can be linked to a single blockchain address. This allows a layering of functionality, where a smart contract developer can choose which contract’s ABI to access a deployed contract instance with.
Similar to C header (.h) files, a contract that contains the methods within that header file can be interacted with, even if it contains additional functionality not specified in a given header file (i.e., in a given ABI).
For example, the ERC20 token standard defines a series of Solidity methods that a smart contract must implement, but does not limit the smart contract from implementing additional functionality.
After uploading a solidity file containing one or more smart contracts, you will be prompted to deploy or link the compiled contracts to a blockchain network.
You can also reach the link function using the following steps:
From the Deploy / Link dialogue you can then:
If successful, you will see a message indicating the linked address and label. The link dialogue will remain open in case you want to link more instances of the same contract. The linked contract instance will be available under the Contracts menu under the type of contract that was linked.
Linking a deployed smart contract to an address can be performed with the following REST API call.
The response shows that the mltitoken address is linked to the mltitoken contract, and hence its ABI for interacting with it.
MultiBaas comes with a number of sample smart contracts pre-installed. They may be linked to deployed contracts on the blockchain or just...
Multisignature (multisig) wallets are smart contracts that allow multiple signers to review and agree on an action on the blockchain ...