Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@authereum/contracts
Advanced tools
Ethereum smart contract for Authereum
Environment variables:
NETWORK_NAME=kovan
ETH_HTTP_PROVIDER_URI='https://kovan.infura.io/v3/e40bbc8b768643668cfee8eef2469487'
SENDER_ADDRESS=0xaa0c264788F94EB24F6cA150449b3048777e11Ca
SENDER_PRIVATE_KEY=0x...
LOGIC_ADDRESS=0x...
ZOS_SESSION_PATH=/absolute-path-to/.openzeppelin/.session
You may also set the config by invoking the setConfig(config)
static method.
The first thing required for deployment of the proxy accounts is the deployment and setup of ENS on the appropriate network. To do this, run the deploy script in 'monorepo/packages/backend/src/deploy/deploy.ts'. Once this has been completed, the ENS Manager addresses can be used in the initialization of the AuthereumAccount.
# Deploy the logic contract. Should only be called once.
npx zos push --network development
# Deploy a user's account
npx zos create2 AuthereumAccount --salt 0x1112 --from 0xaa0c264788F94EB24F6cA150449b3048777e11Ca --network kovan --init initialize --args 0x0000000000000000000000000000000000000001,0x0000000000000000000000000000000000000001,ensname
ganache-cli --port 8545 --deterministic --accounts 11
make tests
Set up upgrade environment:
npm install
npx zos init authereumContracts
npx zos add AuthereumAccount
Note: If the process hangs at Updated zos.json
, simply end the process. The action has already been completed.
Update a contract:
make zos-update
When asked "Do you want to run a function after updating the instance", type "N"
Why am I getting the following when I update my zos project (or run a test)?
connection not open on send()
connection not open
8545
or 9545
)Why is my test failing on a simple test? It seemingly reverts even when it shouldn't.
Why are my tests not running with Returned values aren't valid, did it run Out of Gas?
.env
file to reflect the network you are trying to depoy on.FAQs
Ethereum smart contract for Authereum
The npm package @authereum/contracts receives a total of 103 weekly downloads. As such, @authereum/contracts popularity was classified as not popular.
We found that @authereum/contracts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.