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
⚠️ This code has not been audited. Not recommended to use in production.
Environment variables:
NETWORK_NAME=kovan
ETH_HTTP_PROVIDER_URI='https://kovan.rpc.authereum.org'
SENDER_ADDRESS=0x...
SENDER_PRIVATE_KEY=0x...
LOGIC_ADDRESS=0x...
OZ_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 './deploy/ensDeploy.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 openzeppelin push --network development
# Deploy a user's account
npx openzeppelin create2 AuthereumAccount --salt 1234 --from 0x0000000000000000000000000000000000000000 --network kovan --init initialize --args 0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000,ensname,1234
ganache-cli --port 8545 --deterministic --accounts 11
make tests
Set up upgrade environment:
npm install
npx openzeppelin add AuthereumAccount
Why am I getting the following when I update my oz 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?
You are trying to deploy on a different network. Try changing the .env
file to reflect the network you are trying to depoy on.
Delete the build
folder and run truffle complie && truffle migrate --reset
Why am I getting the following error when running tests?
Error: EnsRegistry error: contract binary not set. Can't deploy new instance.
This contract may be abstract, not implement an abstract parent's methods completely
or not invoke an inherited contract's constructor correctly
Delete the build
folder and run truffle complie && truffle migrate --reset
Why are my tests not running at all (and the output says 0 passing)
it(){}
). It is
likely that you only have describe(){}
and/or context(){}
.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.