![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@rsksmart/erc677
Advanced tools
@rsksmart/erc677
Simple implementation of ERC-677 token contract, compatible with RIF Token.
This package is only to use for testing purposes
npm i @rsksmart/erc677
const ERC677 = artifacts.require('@rsksmart/erc677');
contract('My contract tests', async accounts => {
let erc677;
beforeEach(async () => {
erc677 = await ERC677.new(
accounts[0],
web3.utils.toBN('1000000000000000000000'),
'RIFOS',
'RIF',
web3.utils.toBN('18'),
);
});
});
const Web3 = require('web3');
const ERC677Data = require('@rsksmart/erc677/ERC677Data.json');
const web3 = new Web3('https://public-node.rsk.co')
const ERC677 = new web3.eth.Contract(ERC677Data.abi, ERC677Data.address.rskMainnet);
There are TypeScript typing definitions of the contracts published together with the original contracts. Supported contract's libraries are:
web3
version 1.* - web3-v1-contracts
web3
version 2.* - web3-v2-contracts
truffle
- truffle-contracts
ethers
- ethers-contracts
You can use them as follow:
import Web3 from 'web3'
import ERC677 from '@rsksmart/erc677/types/web3-v1-contracts/ERC677Data.d.ts'
import ERC677Data from '@rsksmart/erc677/ERC677Data.json'
const web3 = new Web3('https://public-node.rsk.co')
const rif = new web3.eth.Contract(ERC677Data.abi, ERC677Data.address.rskMainnet) as ERC677
Replace web3-v1-contracts
with the proper library version.
RIF Token:
FAQs
ERC-677 Token Implementation
The npm package @rsksmart/erc677 receives a total of 4 weekly downloads. As such, @rsksmart/erc677 popularity was classified as not popular.
We found that @rsksmart/erc677 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.