xxxxxxxxxx
solution (in Grepper context)
is about creating procedures and software so the user can do their work.
SDLC takes care of the SW (software) part
SDLC (SW dev life cycle) includes
1-3. planning, analysis, design,
4. development (or build) ,
5-7. testing, implementation, and maintenance.
Solution starts when we start planning and ends after a lot of maintenance
and finally stop using the solution or we upgrade the solution.
xxxxxxxxxx
const connect = async () => {
try {
const provider = new ethers.provider.web3Provider(window.ethereum);
if (provider) {
await provider.send('eth_requestAccounts', []);
const signer = provider.getSigner();
const address = signer.getAddress();
return {
address,
};
} else {
return {
error: 'Please install Metamask at https://metamask.io',
};
}
} catch (error) {
return {
error: 'An unexpected error occurs',
};
}
};
xxxxxxxxxx
function myFunction()
{
var table = document.getElementById("table");
var Row = table.insertRow(table.length);
var cell1 = NewRow.insertCell(0);
var cell2 = NewRow.insertCell(1);
var cell3 = NewRow.insertCell(2);
fname = document.getElementById("fname").value;
lname = document.getElementById("lname").value;
age = document.getElementById("age").value;
cell1.innerHTML = "fname";
cell2.innerHTML = "lname";
cell3.innerHTML = "age";
}
xxxxxxxxxx
const connect = async () => {
try {
const provider = new ethers.providers.Web3Provider(window.ethereum);
if (provider) {
await provider.send('eth_requestAccounts', []);
const signer = provider.getSigner();
const address = await signer.getAddress();
return {
address,
};
} else {
return {
error: 'Please install Metamask at https://metamask.io',
};
}
} catch (error) {
return {
error: 'An unexpected error occurs',
};
}
};