Add to /api/db/schema.prisma
model Request {
id String @id @default(uuid())
createdAt DateTime @default(now())
data String
origin String
}
Add to /api/db/schema.prisma
model Request {
id String @id @default(uuid())
createdAt DateTime @default(now())
data String
origin String
}
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner() | |
async function deployAndLog(name, args = []) { | |
const rawData = await remix.call('fileManager', 'getFile', `browser/artifacts/${name}.json`) | |
const metadata = JSON.parse(rawData) | |
const bytecode = metadata.data.bytecode.object | |
console.log(`Deploying ${name}, bytecode length: ${bytecode.length}, isHexString: ${ethers.utils.isHexString("0x"+bytecode)}`) | |
// const factory = new ethers.ContractFactory(metadata.abi, `0x${metadata.data.bytecode.object}`, signer) | |
const factory = new ethers.ContractFactory(metadata.abi, bytecode, signer) | |
const newContract = await factory.deploy(...args); |
const signer = (new ethers.providers.Web3Provider(web3Provider)).getSigner() | |
async function deployAndLog(name, args = []) { | |
const rawData = await remix.call('fileManager', 'getFile', `browser/artifacts/${name}.json`) | |
const metadata = JSON.parse(rawData) | |
const bytecode = metadata.data.bytecode.object | |
console.log(`Deploying ${name}, bytecode length: ${bytecode.length}, isHexString: ${ethers.utils.isHexString("0x"+bytecode)}`) | |
// const factory = new ethers.ContractFactory(metadata.abi, `0x${metadata.data.bytecode.object}`, signer) | |
const factory = new ethers.ContractFactory(metadata.abi, bytecode, signer) | |
const newContract = await factory.deploy(...args); |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.7.0; | |
import { | |
ISuperfluid, | |
ISuperToken, | |
ISuperApp, | |
ISuperAgreement, | |
SuperAppDefinitions |
These proposed rules seek to eliminate privacy and autonomy, which are core components to the virtual currency / finance tech industry. This sends a message that the US is not open for financial innovation, and encourages financial tech companies to seek incorporation elsewhere. Further, the methods proposed are ineffective for combating illicit activity such as money laundering. Instead, the proposed rule will generate an unnecessary amount of financial surveillance for ordinary citizens, which will become a honeypot of personal data for attackers.
If these proposed rules are enacted, many useful and innovative financial tools, both now and in the future, will not be available to US citizens. These tools enable all people, regardless of economic status, gender, or race, the ability to improve their financial situation. These tools offer better alternatives for individuals in the areas of micro-finance, savings accounts, and responsible investment. Without these tools, US citizens will be "left in the dark"
import { Web3Provider } from "@ethersproject/providers"; | |
import { | |
isWeb3EnabledBrowser, | |
getErrorResponse, | |
isMobile, | |
WALLET_LINK_ID, | |
METAMASK_ID | |
} from "../general"; |
did:key:z6MkrhLBfwRkSedFLwQyJtyFB1ypBD557eq5k4hVvLvADREh |
did:key:z6MkhDfYts7uX9t5z8tbuXsUAqVeQFaqdhP1CC3Eu9WWXFQ2 |
did:key:z6MkrhLBfwRkSedFLwQyJtyFB1ypBD557eq5k4hVvLvADREh |
did:key:z6MkkyAkqY9bPr8gyQGuJTwQvzk8nsfywHCH4jyM1CgTq4KA |