Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@authereum/contracts
Advanced tools
Ethereum smart contracts 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
All the versioning in the Authereum system will use Unix timestamps. A dictionary will be kept that maps version numbers to human-readable names.
Advantage of Unix Timestamp:
Design Decisions:
Authereum Account v2019102500 = '0xFF8C7Ed14a7D3c3Cb0d62Ef001cAD39746642B33' Authereum Account v2019111500 = '0x8bb37aE005ADa8f7c1033843A7c7eB3004c64888'
Authereum Account v2019102500 = '0x1d445c2B2F78e81B62bec0793D9823B462858651' Authereum Account v2019111500 = '0x16766E4a74433c359D8d2F31F84a6eB6d3F4d7B3'
Authereum Account v2019102500 = '0x0f95c1bfD98FeB165ab3B018d5DC770c27a3346e' Authereum Account v2019111500 = '0xC157873c86D78b7151670fbaB4C163383a164355'
Authereum Account v2019102500 = '0x3D1F792509293abCb451316C9f52dDA6482604e4' Authereum Account v2019111500 = '0x5811DD6b41942b7B6c9C65887a80214203f23Ed3'
Authereum Account v2019102500 = '0xD8CaB604BDd8cBb7c3eb0c26f7DC3AbFfb005A92' Authereum Account v2019111500 = '0x185c46c8d3EF5155F3678e69c827dB7a2116a6Cd'
npm run ganache
make test
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
npm run truffle-reset
8545
or 9545
)Update: 11/19/19 - This error is related to using WebSockets. If this error persists, try using https instead, if possible.
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 204 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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.