XCLV7SQMLLOZ6SUV37JAZDXO2TYGBOWNQJROGUS3UX3C2IMSO2JQC
// The ERC-20 Contract ABI should work for USDC as well
const usdcAbi = [
// Some details about the token
"function name() view returns (string)",
"function symbol() view returns (string)",
// The amount of ETH to send (0.05 ETH, for example)
const amount = ethers.parseEther("0.00065");
// The data you want to include with your transaction
const data = ethers.hexlify(ethers.toUtf8Bytes("hi hi there nowhere"));
let provider = new ethers.BrowserProvider(window.ethereum)
// An event triggered whenever anyone transfers to someone else
"event Transfer(address indexed from, address indexed to, uint amount)"
];
// try {
// const transaction = {
// to: recipientAddress,
// value: amount,
// data: data, // This is the data field
// chainId: 1101,
// };
const etherBalance = await provider.getBalance(connectedAddress);
const etherBalanceInEther = ethers.formatEther(etherBalance);
console.log('Ether Balance:', etherBalanceInEther);
// const etherBalance = await provider.getBalance(connectedAddress);
// const etherBalanceInEther = ethers.formatEther(etherBalance);
// console.log('Ether Balance:', etherBalanceInEther);
const signer = await provider.getSigner(connectedAddress);
const tx = await signer.sendTransaction({
to: recipientAddress,
value: amount,
data: data // include the data field in your transaction object
});
console.log('Transaction hash:', tx.hash);
const balanceWei = await usdcContract.balanceOf(connectedAddress);
// Convert the balance from wei to USDC (wei to ether conversion, but with 6 decimal places instead of 18)
const balanceUsdc = ethers.formatUnits(balanceWei, 6);
console.log(`Balance: ${balanceUsdc} USDC`);
});
// Parameters for the USDC token
const tokenParams = {
type: 'ERC20',
options: {
address: '0xA8CE8aee21bC2A48a5EF670afCc9274C7bbbC035', // USDC token contract address
symbol: 'USDC',
decimals: 6,
image: 'https://assets.coingecko.com/coins/images/6319/small/USD_Coin_icon.png', // Replace with the URL of the USDC token icon
},
};
// Request to watch the USDC token
await ethereum.request({
method: 'wallet_watchAsset',
params: tokenParams,
We aspire to create a haven where individuals can share their transformative journeys post-trauma through creative writing. By connecting their MetaMask wallet and adding the zkEVM network to it, users can effortlessly submit their narratives.
Embarking on the philiaSocial journey is an expedition into a domain where connections are cherished and explored through the emotional resonance with art. Your MetaMask wallet and the zkEVM network are your keys to this evocative landscape.
Our team will meticulously curate the submissions, showcasing the most sincere, thoughtful, and evocative writings. Authors of selected pieces will be featured on our list on the philiaSocial Seeds, where their work can touch the hearts of a wider audience.
As you respond to the introspective prompt, each submission is a thread in a larger tapestry, algorithmically analyzed to align you with others on the philiaSocial network who share a similar emotional cadence with the world of art, fostering enriching interactions.
Moreover, within the Seed board, listed authors have the opportunity to receive tips as well from our appreciative community. This feature cultivates a culture of encouragement and recognition, further enriching the connection between authors and readers in a refined, supportive environment. Through philiaSocial Seeds, we aim to foster a nurturing space where the narrative of overcoming adversity is celebrated, shared, and supported.
At philiaSocial, we are nurturing a culture where the exploration of emotional connections with art takes center stage. It's a realm where the heart meets art, where your feelings find a resonance with others, building a community bound by a shared emotional understanding.
To maintain the quality of our platform by deterring spam, only submissions to us with a tip greater than $3 will be reviewed.
A nominal submission fee of at least $3 worth of ETH is the threshold to this bold venture. It's a commitment to a genuine endeavor, a pledge to a community that yearns for a deeper understanding and appreciation of the emotional ties that bind us to art. With each submission, you are contributing to a movement, a collective endeavor to delve deeper into the emotional dialogues that art evokes, and foster meaningful connections therein. Your narrative, your Evo score, are stepping stones towards a community enriched by the emotional landscapes unveiled through the interplay of art and personal connections.